diff options
author | 2002-02-16 21:27:05 +0000 | |
---|---|---|
committer | 2002-02-16 21:27:05 +0000 | |
commit | c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch) | |
tree | 1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libc/compat-43 | |
parent | default to rsa keyfile path for non key generation operations where (diff) | |
download | wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r-- | lib/libc/compat-43/setregid.c | 4 | ||||
-rw-r--r-- | lib/libc/compat-43/setreuid.c | 4 | ||||
-rw-r--r-- | lib/libc/compat-43/setrgid.c | 4 | ||||
-rw-r--r-- | lib/libc/compat-43/setruid.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/compat-43/setregid.c b/lib/libc/compat-43/setregid.c index 66ffe347b1d..ee25b1ac0b3 100644 --- a/lib/libc/compat-43/setregid.c +++ b/lib/libc/compat-43/setregid.c @@ -32,13 +32,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setregid.c,v 1.3 1997/01/19 22:32:14 graichen Exp $"; +static char *rcsid = "$OpenBSD: setregid.c,v 1.4 2002/02/16 21:27:21 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> #include <unistd.h> -extern int __setregid __P((gid_t, gid_t)); +extern int __setregid(gid_t, gid_t); #ifndef NO_WARN_REFERENCES __warn_references(setregid, "warning: this program uses setregid(), which is deprecated."); diff --git a/lib/libc/compat-43/setreuid.c b/lib/libc/compat-43/setreuid.c index 5cd28bb6406..7b48b2b0d15 100644 --- a/lib/libc/compat-43/setreuid.c +++ b/lib/libc/compat-43/setreuid.c @@ -32,13 +32,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setreuid.c,v 1.4 1997/01/20 07:46:51 graichen Exp $"; +static char *rcsid = "$OpenBSD: setreuid.c,v 1.5 2002/02/16 21:27:21 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> #include <unistd.h> -extern int __setreuid __P((uid_t, uid_t)); +extern int __setreuid(uid_t, uid_t); __warn_references(setreuid, "warning: this program uses setreuid(), which is deprecated."); diff --git a/lib/libc/compat-43/setrgid.c b/lib/libc/compat-43/setrgid.c index 0cd59fd4be5..20540d0affa 100644 --- a/lib/libc/compat-43/setrgid.c +++ b/lib/libc/compat-43/setrgid.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setrgid.c,v 1.6 1997/01/20 07:46:52 graichen Exp $"; +static char *rcsid = "$OpenBSD: setrgid.c,v 1.7 2002/02/16 21:27:21 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -40,7 +40,7 @@ static char *rcsid = "$OpenBSD: setrgid.c,v 1.6 1997/01/20 07:46:52 graichen Exp __warn_references(setrgid, "warning: this program uses setrgid(), which is deprecated."); -extern int __setregid __P((gid_t, gid_t)); +extern int __setregid(gid_t, gid_t); int #ifdef __STDC__ diff --git a/lib/libc/compat-43/setruid.c b/lib/libc/compat-43/setruid.c index 615e03ef8a7..b4b85cf7267 100644 --- a/lib/libc/compat-43/setruid.c +++ b/lib/libc/compat-43/setruid.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setruid.c,v 1.6 1997/01/20 07:46:52 graichen Exp $"; +static char *rcsid = "$OpenBSD: setruid.c,v 1.7 2002/02/16 21:27:21 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -40,7 +40,7 @@ static char *rcsid = "$OpenBSD: setruid.c,v 1.6 1997/01/20 07:46:52 graichen Exp __warn_references(setruid, "warning: this program uses setruid(), which is deprecated."); -extern int __setreuid __P((uid_t, uid_t)); +extern int __setreuid(uid_t, uid_t); int #ifdef __STDC__ |