summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-08-19 17:58:32 +0000
committerderaadt <deraadt@openbsd.org>2015-08-19 17:58:32 +0000
commit180d7e4015e00e5f5e73efc778e8321ab932b5cf (patch)
tree58032c588480bcda8ca92909d642455597d3a490 /usr.sbin/pwd_mkdb
parentMissing prototypes. Noted by deraadt@ (diff)
downloadwireguard-openbsd-180d7e4015e00e5f5e73efc778e8321ab932b5cf.tar.xz
wireguard-openbsd-180d7e4015e00e5f5e73efc778e8321ab932b5cf.zip
add missing prototype
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c
index 8c06161834f..c6a93093634 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.c
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd_mkdb.c,v 1.48 2015/04/24 21:14:48 millert Exp $ */
+/* $OpenBSD: pwd_mkdb.c,v 1.49 2015/08/19 17:58:32 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -84,6 +84,8 @@ __dead void fatalc(int, const char *, ...)
__attribute__((__format__ (printf, 2, 3)));
__dead void fatalx(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
+int write_old_entry(FILE *, const struct passwd *);
+
void cp(char *, char *, mode_t);
void mv(char *, char *);
int scan(FILE *, struct passwd *, int *);