Own fork of C027_Support
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of C027_Support by
Revision 22:29322c22577e, committed 2014-04-08
- Comitter:
- mazgch
- Date:
- Tue Apr 08 09:17:50 2014 +0000
- Parent:
- 21:c4d64830bf02
- Child:
- 23:05a1aeeb5fd9
- Commit message:
- make IP a local type
Changed in this revision
MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
MDM.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MDM.cpp Tue Apr 08 09:15:37 2014 +0000 +++ b/MDM.cpp Tue Apr 08 09:17:50 2014 +0000 @@ -327,7 +327,7 @@ // ---------------------------------------------------------------- // internet connection -IP MDMParser::strToIp(const char* str) +MDMParser::IP MDMParser::strToIp(const char* str) { IP ip = 0; char* p = (char*)str;
--- a/MDM.h Tue Apr 08 09:15:37 2014 +0000 +++ b/MDM.h Tue Apr 08 09:17:50 2014 +0000 @@ -15,8 +15,6 @@ #define _C027DEFAULT(name) #endif -typedef uint32_t IP; - class MDMParser { public: @@ -43,6 +41,7 @@ // Socket Return Codes #define SOCKET_ERROR -1 #define SOCKET_OK 0 + typedef uint32_t IP; MDMParser(void);