diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-27 21:13:34 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-27 21:13:34 +0200 |
commit | d7c0a89a3a5697783a6dd89333ab660074790890 (patch) | |
tree | eefa73e502f919b524b8a345437260d4acc23083 /isisd/isis_dr.c | |
parent | tools, doc: update checkpatch for u_int_* (diff) | |
download | frr-d7c0a89a3a5697783a6dd89333ab660074790890.tar.xz frr-d7c0a89a3a5697783a6dd89333ab660074790890.zip |
*: use C99 standard fixed-width integer types
The following types are nonstandard:
- u_char
- u_short
- u_int
- u_long
- u_int8_t
- u_int16_t
- u_int32_t
Replace them with the C99 standard types:
- uint8_t
- unsigned short
- unsigned int
- unsigned long
- uint8_t
- uint16_t
- uint32_t
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_dr.c')
-rw-r--r-- | isisd/isis_dr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_dr.c b/isisd/isis_dr.c index 84b0bb973..99506a243 100644 --- a/isisd/isis_dr.c +++ b/isisd/isis_dr.c @@ -126,7 +126,7 @@ int isis_dr_elect(struct isis_circuit *circuit, int level) struct listnode *node; struct isis_adjacency *adj, *adj_dr = NULL; struct list *list = list_new(); - u_char own_prio; + uint8_t own_prio; int biggest_prio = -1; int cmp_res, retval = ISIS_OK; @@ -223,7 +223,7 @@ int isis_dr_elect(struct isis_circuit *circuit, int level) int isis_dr_resign(struct isis_circuit *circuit, int level) { - u_char id[ISIS_SYS_ID_LEN + 2]; + uint8_t id[ISIS_SYS_ID_LEN + 2]; zlog_debug("isis_dr_resign l%d", level); @@ -274,7 +274,7 @@ int isis_dr_resign(struct isis_circuit *circuit, int level) int isis_dr_commence(struct isis_circuit *circuit, int level) { - u_char old_dr[ISIS_SYS_ID_LEN + 2]; + uint8_t old_dr[ISIS_SYS_ID_LEN + 2]; if (isis->debugs & DEBUG_EVENTS) zlog_debug("isis_dr_commence l%d", level); |