mirror of https://github.com/ARMmbed/mbed-os.git
Removed dependency to Standard library header <cstdint>
parent
54c06c8b84
commit
70d2f16ca3
|
@ -24,12 +24,6 @@ NTP Client header file
|
||||||
#ifndef NTPCLIENT_H_
|
#ifndef NTPCLIENT_H_
|
||||||
#define NTPCLIENT_H_
|
#define NTPCLIENT_H_
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
|
|
||||||
using std::uint8_t;
|
|
||||||
using std::uint16_t;
|
|
||||||
using std::uint32_t;
|
|
||||||
|
|
||||||
#include "UDPSocket.h"
|
#include "UDPSocket.h"
|
||||||
|
|
||||||
#define NTP_DEFAULT_PORT 123
|
#define NTP_DEFAULT_PORT 123
|
||||||
|
@ -95,8 +89,6 @@ private:
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
UDPSocket m_sock;
|
UDPSocket m_sock;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* NTPCLIENT_H_ */
|
#endif /* NTPCLIENT_H_ */
|
||||||
|
|
Loading…
Reference in New Issue