summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2005-02-07 12:38:44 +0000
committermcbride <mcbride@openbsd.org>2005-02-07 12:38:44 +0000
commit574b8d022f3f874c5e8eaaef4816a79aa1c6b784 (patch)
tree14e6376b278df5182f23cb0559d3991531eb06e3
parentospfd.conf, noticed by bernd (diff)
downloadwireguard-openbsd-574b8d022f3f874c5e8eaaef4816a79aa1c6b784.tar.xz
wireguard-openbsd-574b8d022f3f874c5e8eaaef4816a79aa1c6b784.zip
Fix protos, and a KNF nit. From Andrey Matveev <andrushock@korovino.net>
-rw-r--r--usr.sbin/ifstated/ifstated.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ifstated/ifstated.c b/usr.sbin/ifstated/ifstated.c
index 964fca8e079..4e9c1822c21 100644
--- a/usr.sbin/ifstated/ifstated.c
+++ b/usr.sbin/ifstated/ifstated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifstated.c,v 1.20 2004/10/05 21:17:02 mpf Exp $ */
+/* $OpenBSD: ifstated.c,v 1.21 2005/02/07 12:38:44 mcbride Exp $ */
/*
* Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org>
@@ -67,7 +67,6 @@ void external_evtimer_setup(struct ifsd_state *, int);
int scan_ifstate(int, int, struct ifsd_state *);
void fetch_state(void);
void usage(void);
-void doconfig(const char*);
void adjust_expressions(struct ifsd_expression_list *, int);
void eval_state(struct ifsd_state *);
void state_change(void);
@@ -75,12 +74,12 @@ void do_action(struct ifsd_action *);
void remove_action(struct ifsd_action *, struct ifsd_state *);
void remove_expression(struct ifsd_expression *, struct ifsd_state *);
void log_init(int);
-void logit(int level, const char *fmt, ...);
+void logit(int, const char *, ...);
void
usage(void)
{
- extern char* __progname;
+ extern char *__progname;
fprintf(stderr, "usage: %s [-dhinv] [-D macro=value] [-f file]\n",
__progname);