[PATCH:xkbcomp 2/2] Delete redundant redeclarations of extern Atoms in symbols.c
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Jan 15 08:59:55 PST 2012
Fixes gcc warnings of:
symbols.c:43: warning: redundant redeclaration of 'tok_ONE_LEVEL'
tokens.h:99: warning: previous declaration of 'tok_ONE_LEVEL' was here
symbols.c:44: warning: redundant redeclaration of 'tok_TWO_LEVEL'
tokens.h:100: warning: previous declaration of 'tok_TWO_LEVEL' was here
symbols.c:45: warning: redundant redeclaration of 'tok_KEYPAD'
tokens.h:102: warning: previous declaration of 'tok_KEYPAD' was here
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
symbols.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/symbols.c b/symbols.c
index 625fe96..5547999 100644
--- a/symbols.c
+++ b/symbols.c
@@ -40,10 +40,6 @@
#include "misc.h"
#include "alias.h"
-extern Atom tok_ONE_LEVEL;
-extern Atom tok_TWO_LEVEL;
-extern Atom tok_KEYPAD;
-
/***====================================================================***/
#define RepeatYes 1
--
1.7.3.2
More information about the xorg-devel
mailing list