diff options
| author | Lou Berger <lberger@labn.net> | 2018-03-28 10:30:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-28 10:30:54 -0400 |
| commit | 615e608d76bd3e1acf1769c914142210ac88e3f7 (patch) | |
| tree | 1159398cc86aa18901a73480303fb52e09b1f9cc /lib/zebra.h | |
| parent | 79968d2e0bb21485f47934fe4110ab33da8803c7 (diff) | |
| parent | d7c0a89a3a5697783a6dd89333ab660074790890 (diff) | |
Merge pull request #1854 from qlyoung/integer-standards-compliance
*: use C99 standard fixed-width integer types
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 923f6f77c6..ec530397be 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -27,9 +27,9 @@ #ifdef SUNOS_5 #define _XPG4_2 -typedef unsigned int u_int32_t; -typedef unsigned short u_int16_t; -typedef unsigned char u_int8_t; +typedef unsigned int uint32_t; +typedef unsigned short uint16_t; +typedef unsigned char uint8_t; #endif /* SUNOS_5 */ #include <unistd.h> @@ -494,8 +494,8 @@ typedef enum { ((atomic_store_explicit(PV, 0, memory_order_seq_cst))) /* Zebra types. Used in Zserv message header. */ -typedef u_int16_t zebra_size_t; -typedef u_int16_t zebra_command_t; +typedef uint16_t zebra_size_t; +typedef uint16_t zebra_command_t; /* VRF ID type. */ typedef uint32_t vrf_id_t; |
