summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated/update.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-02-06 13:30:31 +0000
committerdes <des@FreeBSD.org>2002-02-06 13:30:31 +0000
commit0f2cb9b020b907000a28323fc57a82fdb7d6626d (patch)
treed44f2702502c982570c85130c91c845a83ea8052 /usr.sbin/rpc.ypupdated/update.c
parent0e1bb965cc26648289a6a22baf0ad5ef4891edb4 (diff)
downloadFreeBSD-src-0f2cb9b020b907000a28323fc57a82fdb7d6626d.zip
FreeBSD-src-0f2cb9b020b907000a28323fc57a82fdb7d6626d.tar.gz
Apply the following mechanical transformations in preparation for
ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
Diffstat (limited to 'usr.sbin/rpc.ypupdated/update.c')
-rw-r--r--usr.sbin/rpc.ypupdated/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c
index 376743b..6566f46 100644
--- a/usr.sbin/rpc.ypupdated/update.c
+++ b/usr.sbin/rpc.ypupdated/update.c
@@ -78,7 +78,7 @@ static char PKFILE[] = "/etc/publickey";
#endif /* YP */
#ifdef YP
-static int _openchild __P(( char *, FILE **, FILE ** ));
+static int _openchild(char *, FILE **, FILE **);
/*
* Determine if requester is allowed to update the given map,
@@ -247,7 +247,7 @@ basename(path)
extern char *malloc();
#endif
-static int match __P(( char * , char * ));
+static int match(char *, char *);
/*
* Determine if requester is allowed to update the given map,
OpenPOWER on IntegriCloud