With newer compilers (gcc 15.1.1) -Wold-style-definition flag is set by default which causes warnings for most of the functions in these files. warning: old-style function definition [-Wold-style-definition] The warnings are remove by converting the old-style function definitions into modern-style definitions Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- src/bindresvport.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bindresvport.c b/src/bindresvport.c index efeb1cc..7b2056d 100644 --- a/src/bindresvport.c +++ b/src/bindresvport.c @@ -147,9 +147,7 @@ load_blacklist (void) } int -bindresvport_sa(sd, sa) - int sd; - struct sockaddr *sa; +bindresvport_sa(int sd, struct sockaddr *sa) { int res, af; struct sockaddr_storage myaddr; -- 2.50.1