From 9a2edd44e85ce256d5402c9ba9146c28f8c48f1b Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 26 Jul 2009 16:32:54 +0000 Subject: Cleanup unused variable warning and put in a missing prototype (pass -Wall -Werror) --- zwgc/main.c | 2 ++ zwgc/plus.h | 1 + 2 files changed, 3 insertions(+) (limited to 'zwgc') diff --git a/zwgc/main.c b/zwgc/main.c index 1e47a87..6836d5e 100644 --- a/zwgc/main.c +++ b/zwgc/main.c @@ -396,7 +396,9 @@ create_punt_reply(int_dictionary_binding *punt) void notice_handler(ZNotice_t *notice) { +#ifndef HAVE_ARES char node[MAXDNAME]; +#endif #if defined(CMU_ZWGCPLUS) list_add_notice(notice); diff --git a/zwgc/plus.h b/zwgc/plus.h index 7a6f052..f0a39a5 100644 --- a/zwgc/plus.h +++ b/zwgc/plus.h @@ -24,3 +24,4 @@ extern void plus_window_deletions(ZNotice_t *notice); /* actually in xshow.c */ extern void plus_queue_notice(ZNotice_t *notice); extern long plus_timequeue_events(void); +void plus_set_hname(ZNotice_t *notice, char *hname); -- cgit v1.2.3