summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrinfo
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/mrinfo
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/mrinfo')
-rw-r--r--usr.sbin/mrinfo/mrinfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/mrinfo/mrinfo.c b/usr.sbin/mrinfo/mrinfo.c
index 1bfa27e267b..7f6e6c8480e 100644
--- a/usr.sbin/mrinfo/mrinfo.c
+++ b/usr.sbin/mrinfo/mrinfo.c
@@ -105,16 +105,16 @@ int target_level = 0;
vifi_t numvifs; /* to keep loader happy */
/* (see COPY_TABLES macro called in kern.c) */
-char * inet_name __P((u_int32_t addr));
-void ask __P((u_int32_t dst));
-void ask2 __P((u_int32_t dst));
+char * inet_name(u_int32_t addr);
+void ask(u_int32_t dst);
+void ask2(u_int32_t dst);
int get_number __P((int *var, int deflt, char ***pargv,
int *pargc));
-u_int32_t host_addr __P((char *name));
-void usage __P((void));
+u_int32_t host_addr(char *name);
+void usage(void);
/* to shut up -Wstrict-prototypes */
-int main __P((int argc, char *argv[]));
+int main(int argc, char *argv[]);
char *