]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/client_main.c
*: use C99 standard fixed-width integer types
[mirror_frr.git] / zebra / client_main.c
index 9b82e482616d333c6d1effc9515aed6692546e58..4035e53f7ce89c72c2902c21b093e8a55c307ce7 100644 (file)
@@ -39,7 +39,7 @@ int sock;
 
 /* IPv4 route add and delete test. */
 void zebra_test_ipv4(int command, int type, char *prefix, char *gateway,
-                    u_char distance)
+                    uint8_t distance)
 {
        struct zapi_ipv4 api;
        struct prefix_ipv4 p;
@@ -119,7 +119,7 @@ void zebra_sim(FILE *fp)
 {
        char buf[BUFSIZ];
        char distance_str[BUFSIZ];
-       u_char distance;
+       uint8_t distance;
 
        while (fgets(buf, sizeof buf, fp)) {
                int i;