summaryrefslogtreecommitdiffstats
path: root/chpass/pw_yp.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
commit7c1453952d8f4fad7f41d6ea1bb8fac64a84d1a8 (patch)
tree93a7b4ee9dfc5cb90b4088bb157f585b08af8a34 /chpass/pw_yp.h
parent165f1fbe1f9b2398abf9f07c3beaebcceb9aada2 (diff)
downloadpw-darwin-7c1453952d8f4fad7f41d6ea1bb8fac64a84d1a8.tar.gz
pw-darwin-7c1453952d8f4fad7f41d6ea1bb8fac64a84d1a8.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
Diffstat (limited to 'chpass/pw_yp.h')
-rw-r--r--chpass/pw_yp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chpass/pw_yp.h b/chpass/pw_yp.h
index 15f63d0..774722e 100644
--- a/chpass/pw_yp.h
+++ b/chpass/pw_yp.h
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*
* NIS interface routines for chpass
- *
+ *
* Written by Bill Paul <wpaul@ctr.columbia.edu>
* Center for Telecommunications Research
* Columbia University, New York City
@@ -54,12 +54,12 @@ extern int _use_yp;
extern int suser_override;
extern struct passwd local_password;
extern struct passwd yp_password;
-extern void copy_yp_pass __P(( char *, int, int ));
+extern void copy_yp_pass(char *, int, int);
extern char *yp_domain;
extern char *yp_server;
-extern void yp_submit __P(( struct passwd * ));
-extern int use_yp __P(( char * , uid_t , int ));
-extern char *get_yp_master __P(( int ));
+extern void yp_submit(struct passwd *);
+extern int use_yp(char *, uid_t, int);
+extern char *get_yp_master(int);
extern int yp_in_pw_file;
/*