summaryrefslogtreecommitdiffstats
path: root/usr.sbin/map-mbone
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/map-mbone
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/map-mbone')
-rw-r--r--usr.sbin/map-mbone/mapper.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.sbin/map-mbone/mapper.c b/usr.sbin/map-mbone/mapper.c
index 531ffa15b69..4fdcc9ea833 100644
--- a/usr.sbin/map-mbone/mapper.c
+++ b/usr.sbin/map-mbone/mapper.c
@@ -87,22 +87,22 @@ int show_names = TRUE;
vifi_t numvifs; /* to keep loader happy */
/* (see COPY_TABLES macro called in kern.c) */
-Node * find_node __P((u_int32_t addr, Node **ptr));
-Interface * find_interface __P((u_int32_t addr, Node *node));
-Neighbor * find_neighbor __P((u_int32_t addr, Node *node));
-int main __P((int argc, char *argv[]));
-void ask __P((u_int32_t dst));
-void ask2 __P((u_int32_t dst));
-int retry_requests __P((Node *node));
-char * inet_name __P((u_int32_t addr));
-void print_map __P((Node *node));
-char * graph_name __P((u_int32_t addr, char *buf));
-void graph_edges __P((Node *node));
-void elide_aliases __P((Node *node));
-void graph_map __P((void));
+Node * find_node(u_int32_t addr, Node **ptr);
+Interface * find_interface(u_int32_t addr, Node *node);
+Neighbor * find_neighbor(u_int32_t addr, Node *node);
+int main(int argc, char *argv[]);
+void ask(u_int32_t dst);
+void ask2(u_int32_t dst);
+int retry_requests(Node *node);
+char * inet_name(u_int32_t addr);
+void print_map(Node *node);
+char * graph_name(u_int32_t addr, char *buf);
+void graph_edges(Node *node);
+void elide_aliases(Node *node);
+void graph_map(void);
int get_number __P((int *var, int deflt, char ***pargv,
int *pargc));
-u_int32_t host_addr __P((char *name));
+u_int32_t host_addr(char *name);
Node *find_node(addr, ptr)