diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-02 11:38:57 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-02 11:40:54 -0700 |
commit | a97f306fd57878158962eb873c23f03a5c6da9db (patch) | |
tree | 098fe66113aa8b30d608d439f0538151165e07f7 | |
parent | 43c19175385f98894c1633ed57ec6778e17a38a6 (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>
-rw-r--r-- | comm.c | 2 | ||||
-rw-r--r-- | handler.c | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -52,8 +52,6 @@ from The Open Group. static Atom atom_comm, atom_command, atom_resource_editor, atom_client_value; static Atom atom_editres_protocol; -extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; - static void ClientTimedOut ( XtPointer data, XtIntervalId * id ); static void TellUserAboutMessage ( Widget label, ResCommand command ); static Boolean ConvertCommand ( Widget w, Atom * selection, Atom * target, @@ -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) { |