summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-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