diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-09-27 17:42:16 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-09-27 17:42:16 +0000 |
commit | 51b0f9ed188811d70f54ebfa527706d8fc346184 (patch) | |
tree | 48e9483d968453ba1b7d3e2626b10bb6d9ee4c29 /lib/libXfont/src/stubs/servclient.c | |
parent | 23b49e80e5298d9e6bb8f43778cff767717d93ea (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.c | 13 |
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; +} |