From 0cbe54eb2d532422d2e3414903a4d71a98fc23a6 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Sun, 20 Sep 2015 20:53:24 +0000 Subject: [PATCH] Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. --- lib/libc/compat-43/sigcompat.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/libc/compat-43/sigcompat.c b/lib/libc/compat-43/sigcompat.c index a8cef1c1421e..08484765397f 100644 --- a/lib/libc/compat-43/sigcompat.c +++ b/lib/libc/compat-43/sigcompat.c @@ -42,9 +42,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" int -sigvec(signo, sv, osv) - int signo; - struct sigvec *sv, *osv; +sigvec(int signo, struct sigvec *sv, struct sigvec *osv) { struct sigaction sa, osa; struct sigaction *sap, *osap; @@ -69,8 +67,7 @@ sigvec(signo, sv, osv) } int -sigsetmask(mask) - int mask; +sigsetmask(int mask) { sigset_t set, oset; int n; @@ -84,8 +81,7 @@ sigsetmask(mask) } int -sigblock(mask) - int mask; +sigblock(int mask) { sigset_t set, oset; int n;