diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 09:55:07 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 09:55:07 -0800 |
commit | 72ac4c4a464b3aec21cdbe367c9d465cbe0f3ff1 (patch) | |
tree | eeafa0fbab0d5143904b9007d211817f1f0830b6 | |
parent | 004d535c707251bd4fb47426f90712c195c6dfc7 (diff) | |
download | xorg-lib-libXmu-72ac4c4a464b3aec21cdbe367c9d465cbe0f3ff1.tar.gz |
Drop support for pre-ANSI-C89 preprocessors
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/Atoms.c | 6 | ||||
-rw-r--r-- | src/sharedlib.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/Atoms.c b/src/Atoms.c index 412f399..6cc91a2 100644 --- a/src/Atoms.c +++ b/src/Atoms.c @@ -60,15 +60,9 @@ struct _AtomRec { #define STATIC static #endif -#if !defined(UNIXCPP) || defined(ANSICPP) #define DeclareAtom(atom,text) \ STATIC struct _AtomRec __##atom = { text, NULL }; \ AtomPtr _##atom = &__##atom; -#else -#define DeclareAtom(atom,text) \ -STATIC struct _AtomRec __/**/atom = { text, NULL }; \ -AtomPtr _/**/atom = &__/**/atom; -#endif DeclareAtom(XA_ATOM_PAIR, "ATOM_PAIR" ) DeclareAtom(XA_CHARACTER_POSITION, "CHARACTER_POSITION" ) diff --git a/src/sharedlib.c b/src/sharedlib.c index 4bb8c3b..b47213d 100644 --- a/src/sharedlib.c +++ b/src/sharedlib.c @@ -36,15 +36,9 @@ struct _AtomRec { struct _DisplayRec* head; }; -#if !defined(UNIXCPP) || defined(ANSICPP) #define DeclareAtom(atom) \ extern struct _AtomRec __##atom; \ AtomPtr _##atom = &__##atom; -#else -#define DeclareAtom(atom) \ -extern struct _AtomRec __/**/atom; \ -AtomPtr _/**/atom = &__/**/atom; -#endif DeclareAtom(XA_ATOM_PAIR) DeclareAtom(XA_CHARACTER_POSITION) |