From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/include/ipalloc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/include/ipalloc.h') diff --git a/src/include/ipalloc.h b/src/include/ipalloc.h index cec29a9..8100c11 100644 --- a/src/include/ipalloc.h +++ b/src/include/ipalloc.h @@ -3,6 +3,7 @@ #include "genalloc.h" #include "ip.h" + #define NAME_LEN 256 struct ip_mx { @@ -16,7 +17,7 @@ struct ip_mx { }; GEN_ALLOC_typedef(ipalloc, struct ip_mx, ix, len, a); -int ipalloc_readyplus(); -int ipalloc_append(); +GEN_ALLOC_readyplus(ipalloc, struct ip_mx, ix, len, a, i, n, x, 22, ipalloc_readyplus); +GEN_ALLOC_append(ipalloc, struct ip_mx, ix, len, a, i, n, x, 22, ipalloc_readyplus, ipalloc_append); #endif -- cgit v1.2.3