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 /zebra/redistribute.h | |
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 'zebra/redistribute.h')
-rw-r--r-- | zebra/redistribute.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h index e551f820c..c78480d9a 100644 --- a/zebra/redistribute.h +++ b/zebra/redistribute.h @@ -55,7 +55,7 @@ extern void zebra_interface_vrf_update_del(struct interface *, extern void zebra_interface_vrf_update_add(struct interface *, vrf_id_t old_vrf_id); -extern int zebra_import_table(afi_t afi, u_int32_t table_id, u_int32_t distance, +extern int zebra_import_table(afi_t afi, uint32_t table_id, uint32_t distance, const char *rmap_name, int add); extern int zebra_add_import_table_entry(struct route_node *rn, @@ -63,7 +63,7 @@ extern int zebra_add_import_table_entry(struct route_node *rn, const char *rmap_name); extern int zebra_del_import_table_entry(struct route_node *rn, struct route_entry *re); -extern int is_zebra_import_table_enabled(afi_t, u_int32_t table_id); +extern int is_zebra_import_table_enabled(afi_t, uint32_t table_id); extern int zebra_import_table_config(struct vty *); |