diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-22 18:39:18 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-22 18:39:18 +0000 |
commit | 698fdb816b7c0c18e7a64ac24c227bc14d25690a (patch) | |
tree | 090625b26f70c3c6b8661685b77ff1425ea0d990 /server/dispatch.c | |
parent | e86b07cf9a4dfe2da0740551fbe4ab8d90801e85 (diff) |
unused static function unless DEBUG
Diffstat (limited to 'server/dispatch.c')
-rw-r--r-- | server/dispatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index b8ee700..e83213f 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -94,6 +94,7 @@ static Unacked *nacktab[NACKTAB_HASHSIZE]; static struct in_addr *hosts; static int hosts_size = 0, num_hosts = 0; +#ifdef DEBUG static void dump_stats (void *arg) { @@ -116,6 +117,7 @@ dump_stats (void *arg) /* log stuff once an hour */ timer_set_rel ((long) 6*60*60, dump_stats, arg); } +#endif /* * Handle an input packet. |