summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfr_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 /libexec/ypxfr/ypxfr_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 'libexec/ypxfr/ypxfr_extern.h')
-rw-r--r--libexec/ypxfr/ypxfr_extern.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/libexec/ypxfr/ypxfr_extern.h b/libexec/ypxfr/ypxfr_extern.h
index 045f496..f5feedf 100644
--- a/libexec/ypxfr/ypxfr_extern.h
+++ b/libexec/ypxfr/ypxfr_extern.h
@@ -47,16 +47,16 @@ extern BTREEINFO openinfo_b;
extern char *yp_dir;
extern int debug;
extern enum ypstat yp_errno;
-extern void yp_error __P(( const char *, ... ));
-extern int _yp_check __P(( char ** ));
-extern char *ypxfrerr_string __P(( ypxfrstat ));
-extern DB *yp_open_db_rw __P(( const char *, const char *, const int));
-extern void yp_init_dbs __P(( void ));
-extern int yp_put_record __P(( DB *, DBT *, DBT * , int ));
-extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int ));
-extern int ypxfr_get_map __P(( char *, char *, char *, int (*)() ));
-extern char *ypxfr_get_master __P(( char *, char *, char *, const int ));
-extern unsigned long ypxfr_get_order __P(( char *, char *, char *, const int ));
-extern int ypxfr_match __P(( char *, char *, char *, char *, unsigned long ));
-extern char *ypxfxerr_string __P(( ypxfrstat ));
-extern int ypxfrd_get_map __P(( char *, char *, char *, char *));
+extern void yp_error(const char *, ...);
+extern int _yp_check(char **);
+extern char *ypxfrerr_string(ypxfrstat);
+extern DB *yp_open_db_rw(const char *, const char *, const int);
+extern void yp_init_dbs(void);
+extern int yp_put_record(DB *, DBT *, DBT *, int);
+extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
+extern int ypxfr_get_map(char *, char *, char *, int (*)());
+extern char *ypxfr_get_master(char *, char *, char *, const int);
+extern unsigned long ypxfr_get_order(char *, char *, char *, const int);
+extern int ypxfr_match(char *, char *, char *, char *, unsigned long);
+extern char *ypxfxerr_string(ypxfrstat);
+extern int ypxfrd_get_map(char *, char *, char *, char *);
OpenPOWER on IntegriCloud