diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-02-07 12:38:45 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-02-07 12:38:45 +0000 |
commit | 002a920cb52a317d91afd98ba96407a3ae059838 (patch) | |
tree | e987316b5d9f07ada194e0fe64da880c1758cad7 | |
parent | 9ff11156c5a49d708db57c4e3c65accde39826cc (diff) |
Fix protos, and a KNF nit. From Andrey Matveev <andrushock@korovino.net>
-rw-r--r-- | usr.sbin/ifstated/ifstated.c | 7 |
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); |