summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated/ypupdated_extern.h
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/ypupdated_extern.h
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/ypupdated_extern.h')
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_extern.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_extern.h b/usr.sbin/rpc.ypupdated/ypupdated_extern.h
index 17e9ee9..6906f1c 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_extern.h
+++ b/usr.sbin/rpc.ypupdated/ypupdated_extern.h
@@ -24,7 +24,7 @@
#define MAP_UPDATE_PATH YPLIBDIR MAP_UPDATE
extern int children;
-extern void ypu_prog_1 __P(( struct svc_req *, register SVCXPRT * ));
-extern int localupdate __P(( char *, char *, u_int, u_int, char *, u_int, char * ));
-extern int ypmap_update __P(( char *, char *, u_int, u_int, char *, u_int, char * ));
-extern int yp_del_record __P(( DB *, DBT * ));
+extern void ypu_prog_1(struct svc_req *, register SVCXPRT *);
+extern int localupdate(char *, char *, u_int, u_int, char *, u_int, char *);
+extern int ypmap_update(char *, char *, u_int, u_int, char *, u_int, char *);
+extern int yp_del_record(DB *, DBT *);
OpenPOWER on IntegriCloud