summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/stubs/stfntcfnt.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/stfntcfnt.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/stfntcfnt.c')
-rw-r--r--lib/libXfont/src/stubs/stfntcfnt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libXfont/src/stubs/stfntcfnt.c b/lib/libXfont/src/stubs/stfntcfnt.c
index bf88505b7..d490988c5 100644
--- a/lib/libXfont/src/stubs/stfntcfnt.c
+++ b/lib/libXfont/src/stubs/stfntcfnt.c
@@ -3,8 +3,13 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak StoreFontClientFont
+#endif
+
weak int
StoreFontClientFont(FontPtr pfont, Font id)
{
+ OVERRIDE_SYMBOL(StoreFontClientFont, pfont, id);
return 0;
}