summaryrefslogtreecommitdiff
path: root/lib/libXfont/src/stubs/getdefptsize.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-08 17:57:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-08 17:57:12 +0000
commit1eaf4ef575661b20dac65e52868968d04ac6bb32 (patch)
tree927604ae717dbf24cff4f6cafd952a3abe00047d /lib/libXfont/src/stubs/getdefptsize.c
parent97c021d0df7778a7b9a8760dc64ffd5a44d5bef6 (diff)
import libXfont 1.2.8
Diffstat (limited to 'lib/libXfont/src/stubs/getdefptsize.c')
-rw-r--r--lib/libXfont/src/stubs/getdefptsize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libXfont/src/stubs/getdefptsize.c b/lib/libXfont/src/stubs/getdefptsize.c
index 11804ddb0..0b9e40999 100644
--- a/lib/libXfont/src/stubs/getdefptsize.c
+++ b/lib/libXfont/src/stubs/getdefptsize.c
@@ -3,6 +3,10 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak GetDefaultPointSize
+#endif
+
weak int
GetDefaultPointSize(void)
{