summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/files.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /usr.sbin/config/files.c
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/config/files.c')
-rw-r--r--usr.sbin/config/files.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/config/files.c b/usr.sbin/config/files.c
index 84eeadcec53..4245d2fe5b9 100644
--- a/usr.sbin/config/files.c
+++ b/usr.sbin/config/files.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: files.c,v 1.8 2001/12/05 10:11:23 deraadt Exp $ */
+/* $OpenBSD: files.c,v 1.9 2002/02/16 21:28:01 millert Exp $ */
/* $NetBSD: files.c,v 1.6 1996/03/17 13:18:17 cgd Exp $ */
/*
@@ -68,13 +68,13 @@ static struct files **unchecked;
static struct objects **nextobject;
-static int checkaux __P((const char *, void *));
-static int fixcount __P((const char *, void *));
-static int fixfsel __P((const char *, void *));
-static int fixsel __P((const char *, void *));
+static int checkaux(const char *, void *);
+static int fixcount(const char *, void *);
+static int fixfsel(const char *, void *);
+static int fixsel(const char *, void *);
static int expr_eval __P((struct nvlist *,
int (*)(const char *, void *), void *));
-static void expr_free __P((struct nvlist *));
+static void expr_free(struct nvlist *);
void
initfiles()
@@ -392,7 +392,7 @@ fixsel(name, context)
static int
expr_eval(expr, fn, context)
register struct nvlist *expr;
- register int (*fn) __P((const char *, void *));
+ register int (*fn)(const char *, void *);
register void *context;
{
int lhs, rhs;