summaryrefslogtreecommitdiffstats
path: root/usr.sbin/memconfig
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/memconfig
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/memconfig')
-rw-r--r--usr.sbin/memconfig/memconfig.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/memconfig/memconfig.c b/usr.sbin/memconfig/memconfig.c
index b4aa5e0ecb9..e73847f86d0 100644
--- a/usr.sbin/memconfig/memconfig.c
+++ b/usr.sbin/memconfig/memconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memconfig.c,v 1.3 2001/07/27 20:34:36 pvalchev Exp $ */
+/* $OpenBSD: memconfig.c,v 1.4 2002/02/16 21:28:04 millert Exp $ */
/*-
* Copyright (c) 1999 Michael Smith <msmith@freebsd.org>
* All rights reserved.
@@ -58,17 +58,17 @@ struct
{NULL, 0, 0}
};
-static void listfunc __P((int, int, char *[]));
-static void setfunc __P((int, int, char *[]));
-static void clearfunc __P((int, int, char *[]));
-static void helpfunc __P((int, int, char *[]));
-static void help __P((char *));
+static void listfunc(int, int, char *[]);
+static void setfunc(int, int, char *[]);
+static void clearfunc(int, int, char *[]);
+static void helpfunc(int, int, char *[]);
+static void help(char *);
struct
{
char *cmd;
char *desc;
- void (*func) __P((int, int, char *[]));
+ void (*func)(int, int, char *[]);
} functions[] = {
{"list",
"List current memory range attributes\n"