summaryrefslogtreecommitdiff
path: root/usr.bin/cap_mkdb
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cap_mkdb')
-rw-r--r--usr.bin/cap_mkdb/cap_mkdb.c14
-rw-r--r--usr.bin/cap_mkdb/getinfo.c14
2 files changed, 14 insertions, 14 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c
index 3e3b5ea65dc..1ad679711f9 100644
--- a/usr.bin/cap_mkdb/cap_mkdb.c
+++ b/usr.bin/cap_mkdb/cap_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cap_mkdb.c,v 1.8 2001/07/12 05:16:56 deraadt Exp $ */
+/* $OpenBSD: cap_mkdb.c,v 1.9 2002/02/16 21:27:44 millert Exp $ */
/* $NetBSD: cap_mkdb.c,v 1.5 1995/09/02 05:47:12 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cap_mkdb.c 8.2 (Berkeley) 4/27/95";
#endif
-static char rcsid[] = "$OpenBSD: cap_mkdb.c,v 1.8 2001/07/12 05:16:56 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cap_mkdb.c,v 1.9 2002/02/16 21:27:44 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -61,11 +61,11 @@ static char rcsid[] = "$OpenBSD: cap_mkdb.c,v 1.8 2001/07/12 05:16:56 deraadt Ex
#include <ctype.h>
#include <unistd.h>
-void db_build __P((char **));
-void dounlink __P((void));
-void usage __P((void));
-int igetnext __P((char **, char **));
-int main __P((int, char *[]));
+void db_build(char **);
+void dounlink(void);
+void usage(void);
+int igetnext(char **, char **);
+int main(int, char *[]);
DB *capdbp;
int info, verbose;
diff --git a/usr.bin/cap_mkdb/getinfo.c b/usr.bin/cap_mkdb/getinfo.c
index 2a0457c9ba3..e90d67fb507 100644
--- a/usr.bin/cap_mkdb/getinfo.c
+++ b/usr.bin/cap_mkdb/getinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getinfo.c,v 1.4 2001/11/19 19:02:13 mpech Exp $ */
+/* $OpenBSD: getinfo.c,v 1.5 2002/02/16 21:27:44 millert Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: getinfo.c,v 1.4 2001/11/19 19:02:13 mpech Exp $";
+static char rcsid[] = "$OpenBSD: getinfo.c,v 1.5 2002/02/16 21:27:44 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -57,12 +57,12 @@ static char rcsid[] = "$OpenBSD: getinfo.c,v 1.4 2001/11/19 19:02:13 mpech Exp $
#define TCERR (char)1
#define SHADOW (char)2
-static int getent __P((char **, u_int *, char **, int, char *, int));
-static char *igetcap __P((char *, char *, int));
-static int igetmatch __P((char *, char *));
-static int igetclose __P((void));
+static int getent(char **, u_int *, char **, int, char *, int);
+static char *igetcap(char *, char *, int);
+static int igetmatch(char *, char *);
+static int igetclose(void);
-int igetnext __P((char **, char **));
+int igetnext(char **, char **);
/*
* Cgetcap searches the capability record buf for the capability cap with