summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-02-06 07:34:17 +0000
committerru <ru@FreeBSD.org>2002-02-06 07:34:17 +0000
commit2e1fdce6799478ac5a04952a017ed1868c119700 (patch)
treee803c0db0b8b48fdcb912bf5bb4a595247407bcb /usr.sbin/rpc.yppasswdd
parentbe9fa5e36cdcc472994c9cd6688c335c47e2f972 (diff)
downloadFreeBSD-src-2e1fdce6799478ac5a04952a017ed1868c119700.zip
FreeBSD-src-2e1fdce6799478ac5a04952a017ed1868c119700.tar.gz
Do a bit more of prototype cleanup.
Diffstat (limited to 'usr.sbin/rpc.yppasswdd')
-rw-r--r--usr.sbin/rpc.yppasswdd/pw_copy.c1
-rw-r--r--usr.sbin/rpc.yppasswdd/pw_util.c1
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_extern.h5
3 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/rpc.yppasswdd/pw_copy.c b/usr.sbin/rpc.yppasswdd/pw_copy.c
index 73265d7..99a79ca 100644
--- a/usr.sbin/rpc.yppasswdd/pw_copy.c
+++ b/usr.sbin/rpc.yppasswdd/pw_copy.c
@@ -49,7 +49,6 @@ static const char rcsid[] =
#include <stdio.h>
#include <string.h>
-#include <pw_util.h>
#include "yppasswdd_extern.h"
int
diff --git a/usr.sbin/rpc.yppasswdd/pw_util.c b/usr.sbin/rpc.yppasswdd/pw_util.c
index e4eebac..f65f03d 100644
--- a/usr.sbin/rpc.yppasswdd/pw_util.c
+++ b/usr.sbin/rpc.yppasswdd/pw_util.c
@@ -61,7 +61,6 @@ static const char rcsid[] =
#include <string.h>
#include <unistd.h>
-#include <pw_util.h>
#include "yppasswdd_extern.h"
int pstat;
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
index 84df7de..eec2684 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
@@ -36,6 +36,7 @@
#include <limits.h>
#include <db.h>
#include <paths.h>
+#include <pw_util.h>
#include <rpc/rpc.h>
#include <pwd.h>
#include <err.h>
@@ -63,10 +64,6 @@ extern void master_yppasswdprog_1 __P(( struct svc_req *,
extern void reaper __P(( int ));
extern void install_reaper __P(( int ));
extern int pw_copy __P(( int, int, struct passwd * ));
-extern int pw_lock __P(( void ));
-extern int pw_mkdb __P((const char * ));
-extern int pw_tmp __P(( void ));
-extern void pw_init __P(( void ));
extern char *ok_shell __P (( char * ));
extern char *passfile;
extern char *passfile_default;
OpenPOWER on IntegriCloud