aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-02-06 13:30:31 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-02-06 13:30:31 +0000
commited4d1c46a27632aa553e7c24c969262bfc2d5c97 (patch)
treed44f2702502c982570c85130c91c845a83ea8052 /usr.sbin/rpc.ypxfrd/ypxfrd_extern.h
parent8bf216d4a39b268cd561eb5e3a90ba41ef5e733f (diff)
downloadsrc-ed4d1c46a27632aa553e7c24c969262bfc2d5c97.tar.gz
src-ed4d1c46a27632aa553e7c24c969262bfc2d5c97.zip
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
Notes
Notes: svn path=/head/; revision=90297
Diffstat (limited to 'usr.sbin/rpc.ypxfrd/ypxfrd_extern.h')
-rw-r--r--usr.sbin/rpc.ypxfrd/ypxfrd_extern.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h b/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h
index 4fb51ec253de..5aba934a6ec4 100644
--- a/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h
+++ b/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h
@@ -42,9 +42,9 @@
extern int forked;
extern int children;
-extern void load_securenets __P(( void ));
-extern void yp_error __P((const char *, ...));
-extern int yp_access __P((const char *, const struct svc_req * ));
-extern int yp_validdomain __P((const char * ));
+extern void load_securenets(void);
+extern void yp_error(const char *, ...);
+extern int yp_access(const char *, const struct svc_req *);
+extern int yp_validdomain(const char *);
extern char *yp_dir;
-extern void ypxfrd_freebsd_prog_1 __P(( struct svc_req *, register SVCXPRT * ));
+extern void ypxfrd_freebsd_prog_1(struct svc_req *, register SVCXPRT *);