summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/stubs/servclient.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2014-09-27 17:42:16 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2014-09-27 17:42:16 +0000
commit51b0f9ed188811d70f54ebfa527706d8fc346184 (patch)
tree48e9483d968453ba1b7d3e2626b10bb6d9ee4c29 /lib/libXfont/src/stubs/servclient.c
parent23b49e80e5298d9e6bb8f43778cff767717d93ea (diff)
Update to libXfont 1.5.0
Tested together with xserver 1.16.1 by naddy@, jsg@ & kettenis@
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;
+}