summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-08 15:42:37 +0000
committerdes <des@FreeBSD.org>2002-05-08 15:42:37 +0000
commit3ad511fc27fa6689b6c4002569c77387593df263 (patch)
tree4f377e5fb5fd80a085429535107277db4d769673 /usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
parentb1c4fde84af2a34481392012f99682efde811482 (diff)
downloadFreeBSD-src-3ad511fc27fa6689b6c4002569c77387593df263.zip
FreeBSD-src-3ad511fc27fa6689b6c4002569c77387593df263.tar.gz
Use libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'usr.sbin/rpc.yppasswdd/yppasswdd_extern.h')
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_extern.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
index 5590639..98cab6e 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
@@ -32,17 +32,8 @@
* $FreeBSD$
*/
-#include <sys/types.h>
-#include <limits.h>
-#include <db.h>
-#include <paths.h>
-#include <pw_util.h>
-#include <rpc/rpc.h>
-#include <pwd.h>
-#include <err.h>
-#include <rpcsvc/yp.h>
-#include "yp_extern.h"
-#include "ypxfr_extern.h"
+#ifndef _YPPASSWDD_EXTERN_H
+#define _YPPASSWDD_EXTERN_H
#ifndef YPLIBDIR
#define YPLIBDIR "/usr/libexec/"
@@ -63,11 +54,9 @@ extern void master_yppasswdprog_1 __P((struct svc_req *,
register SVCXPRT *));
extern void reaper(int);
extern void install_reaper(int);
-extern int pw_copy(int, int, struct passwd *);
extern char *ok_shell __P ((char *));
extern char *passfile;
extern char *passfile_default;
-extern char *tempname;
extern char *yppasswd_domain;
extern int no_chsh;
extern int no_chfn;
@@ -77,3 +66,5 @@ extern int resvport;
extern int inplace;
extern int verbose;
extern int _rpc_dtablesize(void);
+
+#endif
OpenPOWER on IntegriCloud