summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 23:54:04 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 23:54:04 +0000
commitfd9d7ac0ed3b0196f0165675edd10f4568d1ce88 (patch)
tree797ad825cd6005b210c12cc519012e2266372988 /lib/librpcsvc
parentd0f7d014387d18db9910e1094a3d0696bfeccab6 (diff)
downloadFreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.zip
FreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.tar.gz
Remove __P() usage.
Diffstat (limited to 'lib/librpcsvc')
-rw-r--r--lib/librpcsvc/secretkey.c2
-rw-r--r--lib/librpcsvc/xcrypt.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/librpcsvc/secretkey.c b/lib/librpcsvc/secretkey.c
index 136bdb9..f455445 100644
--- a/lib/librpcsvc/secretkey.c
+++ b/lib/librpcsvc/secretkey.c
@@ -51,7 +51,7 @@ static char sccsid[] = "@(#)secretkey.c 1.8 91/03/11 Copyr 1986 Sun Micro";
#include <rpcsvc/ypclnt.h>
#include <string.h>
-extern int xdecrypt __P(( char *, char * ));
+extern int xdecrypt( char *, char * );
/*
* Get somebody's encrypted secret key from the database, using the given
diff --git a/lib/librpcsvc/xcrypt.c b/lib/librpcsvc/xcrypt.c
index 9d9d9f2..aa5d8ae 100644
--- a/lib/librpcsvc/xcrypt.c
+++ b/lib/librpcsvc/xcrypt.c
@@ -41,10 +41,10 @@ __FBSDID("$FreeBSD$");
#include <rpc/des_crypt.h>
static char hex[]; /* forward */
-static char hexval __P(( char ));
-static void bin2hex __P(( int, unsigned char *, char * ));
-static void hex2bin __P(( int, char *, char * ));
-void passwd2des __P(( char *, char * ));
+static char hexval( char );
+static void bin2hex( int, unsigned char *, char * );
+static void hex2bin( int, char *, char * );
+void passwd2des( char *, char * );
/*
* Encrypt a secret key given passwd
OpenPOWER on IntegriCloud