]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/prefix.c
Treewide: use ANSI function definitions
[mirror_frr.git] / lib / prefix.c
index 0203301562f5df3382b8233423df420c1c0f891d..07eb1785b7f911bddf536bcb2220d18bb4882fe3 100644 (file)
@@ -820,7 +820,7 @@ const char *prefix_family_str(const struct prefix *p)
 }
 
 /* Allocate new prefix_ipv4 structure. */
-struct prefix_ipv4 *prefix_ipv4_new()
+struct prefix_ipv4 *prefix_ipv4_new(void)
 {
        struct prefix_ipv4 *p;
 
@@ -1359,7 +1359,7 @@ const char *prefix2str(union prefixconstptr pu, char *str, int size)
        return str;
 }
 
-struct prefix *prefix_new()
+struct prefix *prefix_new(void)
 {
        struct prefix *p;