summaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-02 11:38:57 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-02 11:40:54 -0700
commita97f306fd57878158962eb873c23f03a5c6da9db (patch)
tree098fe66113aa8b30d608d439f0538151165e07f7 /handler.c
parent43c19175385f98894c1633ed57ec6778e17a38a6 (diff)
Clear -Wredundant-decls warnings from gcc 7.3
comm.c:55:15: warning: redundant redeclaration of ‘CM_entries’ [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ In file included from comm.c:46:0: editresP.h:339:15: note: previous declaration of ‘CM_entries’ was here extern Widget CM_entries[NUM_CM_ENTRIES]; ^~~~~~~~~~ comm.c:55:43: warning: redundant redeclaration of ‘TM_entries’ [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ In file included from comm.c:46:0: editresP.h:343:15: note: previous declaration of ‘TM_entries’ was here extern Widget TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ handler.c:502:16: warning: redundant redeclaration of ‘do_get_values’ [-Wredundant-decls] extern Boolean do_get_values; ^~~~~~~~~~~~~ In file included from handler.c:40:0: editresP.h:334:16: note: previous declaration of ‘do_get_values’ was here extern Boolean do_get_values; ^~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/handler.c b/handler.c
index 7f45295..0beeb4c 100644
--- a/handler.c
+++ b/handler.c
@@ -499,8 +499,6 @@ SetResourceString(Widget w, XtPointer node_ptr, XtPointer junk)
* Returns: none
*/
-extern Boolean do_get_values;
-
void
ResourceListCallback(Widget list, XtPointer node_ptr, XtPointer junk)
{