shill: Use integer types from stdint.h
This CL replaces the deprecated int* and uint* types from
'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'.
BUG=chromium:401356
TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2`
Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e
Reviewed-on: https://chromium-review.googlesource.com/211770
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/eap_protocol.h b/eap_protocol.h
index 619dbd2..6468a5d 100644
--- a/eap_protocol.h
+++ b/eap_protocol.h
@@ -13,9 +13,9 @@
namespace eap_protocol {
struct ALIGNAS(1) Ieee8021xHdr {
- uint8 version;
- uint8 type;
- uint16 length;
+ uint8_t version;
+ uint8_t type;
+ uint16_t length;
};
enum IeeeEapolVersion {
@@ -32,9 +32,9 @@
};
struct ALIGNAS(1) EapHeader {
- uint8 code;
- uint8 identifier;
- uint16 length; // including code and identifier; network byte order
+ uint8_t code;
+ uint8_t identifier;
+ uint16_t length; // including code and identifier; network byte order
};
enum EapCode {