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