diff options
author | Adam Jackson <ajax@redhat.com> | 2011-03-15 15:47:08 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-16 12:27:57 -0400 |
commit | 91620213d2bd75fe322df06c5b6f55b85a10e55a (patch) | |
tree | 6d1693fdd4ebc66468aa254a9bc9442ab8993d52 /Xtrans.h | |
parent | 4ac40cd5451983e6f62527700cdf9e2f8a29c013 (diff) |
Remove K&R token pasting macros
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xtrans.h')
-rw-r--r-- | Xtrans.h | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -63,22 +63,14 @@ from The Open Group. */ #ifdef X11_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _X11Trans##func -#else -#define TRANS(func) _X11Trans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_X11Trans"; #endif #endif /* X11_t */ #ifdef XSERV_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _XSERVTrans##func -#else -#define TRANS(func) _XSERVTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_XSERVTrans"; #endif @@ -86,66 +78,42 @@ static char* __xtransname = "_XSERVTrans"; #endif /* XSERV_t */ #ifdef XIM_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _XimXTrans##func -#else -#define TRANS(func) _XimXTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_XimTrans"; #endif #endif /* XIM_t */ #ifdef FS_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _FSTrans##func -#else -#define TRANS(func) _FSTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_FSTrans"; #endif #endif /* FS_t */ #ifdef FONT_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _FontTrans##func -#else -#define TRANS(func) _FontTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_FontTrans"; #endif #endif /* FONT_t */ #ifdef ICE_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _IceTrans##func -#else -#define TRANS(func) _IceTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_IceTrans"; #endif #endif /* ICE_t */ #ifdef TEST_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _TESTTrans##func -#else -#define TRANS(func) _TESTTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_TESTTrans"; #endif #endif /* TEST_t */ #ifdef LBXPROXY_t -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _LBXPROXYTrans##func -#else -#define TRANS(func) _LBXPROXYTrans/**/func -#endif #define X11_t /* The server defines this - so should the LBX proxy */ #ifdef XTRANSDEBUG static char* __xtransname = "_LBXPROXYTrans"; @@ -153,11 +121,7 @@ static char* __xtransname = "_LBXPROXYTrans"; #endif /* LBXPROXY_t */ #if !defined(TRANS) -#if !defined(UNIXCPP) || defined(ANSICPP) #define TRANS(func) _XTrans##func -#else -#define TRANS(func) _XTrans/**/func -#endif #ifdef XTRANSDEBUG static char* __xtransname = "_XTrans"; #endif |