aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rrenumd/rrenumd.c
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
committerKevin Lo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
commit784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b (patch)
tree368b0b244e9ff1e4d1d1e563ee72dc5168999272 /usr.sbin/rrenumd/rrenumd.c
parent96e460ec534f08eb10f4399f79381ae333de9e3c (diff)
downloadsrc-784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b.tar.gz
src-784bddbc5bca158d2fb57eed7c5e4ceebd49ff8b.zip
Notes
Diffstat (limited to 'usr.sbin/rrenumd/rrenumd.c')
-rw-r--r--usr.sbin/rrenumd/rrenumd.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.sbin/rrenumd/rrenumd.c b/usr.sbin/rrenumd/rrenumd.c
index fddd6a11c0f0..68f68473a909 100644
--- a/usr.sbin/rrenumd/rrenumd.c
+++ b/usr.sbin/rrenumd/rrenumd.c
@@ -95,29 +95,29 @@ int with_v4dest, with_v6dest;
struct in6_addr prefix; /* ADHOC */
int prefixlen = 64; /* ADHOC */
-extern int parse __P((FILE **));
+extern int parse(FILE **);
-static void show_usage __P((void));
-static void init_sin6 __P((struct sockaddr_in6 *, const char *));
+static void show_usage(void);
+static void init_sin6(struct sockaddr_in6 *, const char *);
#if 0
-static void join_multi __P((const char *));
+static void join_multi(const char *);
#endif
-static void init_globals __P((void));
-static void config __P((FILE **));
+static void init_globals(void);
+static void config(FILE **);
#ifdef IPSEC_POLICY_IPSEC
-static void sock6_open __P((struct flags *, char *));
-static void sock4_open __P((struct flags *, char *));
+static void sock6_open(struct flags *, char *);
+static void sock4_open(struct flags *, char *);
#else
-static void sock6_open __P((struct flags *));
-static void sock4_open __P((struct flags *));
+static void sock6_open(struct flags *);
+static void sock4_open(struct flags *);
#endif
-static void rrenum_output __P((struct payload_list *, struct dst_list *));
-static void rrenum_snd_eachdst __P((struct payload_list *));
+static void rrenum_output(struct payload_list *, struct dst_list *);
+static void rrenum_snd_eachdst(struct payload_list *);
#if 0
-static void rrenum_snd_fullsequence __P((void));
+static void rrenum_snd_fullsequence(void);
#endif
-static void rrenum_input __P((int));
-int main __P((int, char *[]));
+static void rrenum_input(int);
+int main(int, char *[]);
/* Print usage. Don't call this after daemonized. */