aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/getdefptsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/getdefptsize.c')
-rw-r--r--libXfont/src/stubs/getdefptsize.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libXfont/src/stubs/getdefptsize.c b/libXfont/src/stubs/getdefptsize.c
new file mode 100644
index 000000000..0b9e40999
--- /dev/null
+++ b/libXfont/src/stubs/getdefptsize.c
@@ -0,0 +1,14 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include "stubs.h"
+
+#ifdef __SUNPRO_C
+#pragma weak GetDefaultPointSize
+#endif
+
+weak int
+GetDefaultPointSize(void)
+{
+ return 0;
+}