summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/stubs/servclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXfont/src/stubs/servclient.c')
-rw-r--r--lib/libXfont/src/stubs/servclient.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libXfont/src/stubs/servclient.c b/lib/libXfont/src/stubs/servclient.c
index ae51621bf..f85e08eb1 100644
--- a/lib/libXfont/src/stubs/servclient.c
+++ b/lib/libXfont/src/stubs/servclient.c
@@ -3,4 +3,17 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak serverClient
+#endif
+
weak void *serverClient = 0;
+
+void *__GetServerClient(void);
+
+void *
+__GetServerClient(void)
+{
+ OVERRIDE_DATA(serverClient);
+ return serverClient;
+}