summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-04 19:36:53 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-04 19:36:53 -0800
commit3cb1f18a6a2657f9c8e74fb2195558abca0652bd (patch)
treea2410afa94f0aa0ae885a0f6eff8a6fcb3f7f218
parent4cbd659505f2acafe2645c59532e52d4cfa00e1d (diff)
unifdef -U__UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/sm_auth.c4
-rw-r--r--src/sm_client.c5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/sm_auth.c b/src/sm_auth.c
index fcc180a..0b3ce99 100644
--- a/src/sm_auth.c
+++ b/src/sm_auth.c
@@ -34,10 +34,6 @@ in this Software without prior written authorization from The Open Group.
#include <X11/SM/SMlib.h>
#include "SMlibint.h"
-#ifdef __UNIXOS2__
-static char dummy;
-#endif
-
/*
* For now, SMlib just supports MIT-MAGIC-COOKIE-1 (defined in ICElib).
*/
diff --git a/src/sm_client.c b/src/sm_client.c
index 23d8e32..3dd700e 100644
--- a/src/sm_client.c
+++ b/src/sm_client.c
@@ -37,13 +37,8 @@ in this Software without prior written authorization from The Open Group.
int _SmcOpcode = 0;
int _SmsOpcode = 0;
-#ifndef __UNIXOS2__
SmsNewClientProc _SmsNewClientProc;
SmPointer _SmsNewClientData;
-#else
-SmsNewClientProc _SmsNewClientProc = 0;
-SmPointer _SmsNewClientData = 0;
-#endif
SmcErrorHandler _SmcErrorHandler = _SmcDefaultErrorHandler;
SmsErrorHandler _SmsErrorHandler = _SmsDefaultErrorHandler;