summaryrefslogtreecommitdiff
path: root/xc/lib/X11/lcDynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/X11/lcDynamic.c')
-rw-r--r--xc/lib/X11/lcDynamic.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/xc/lib/X11/lcDynamic.c b/xc/lib/X11/lcDynamic.c
index 57c3febe9..a5b409c99 100644
--- a/xc/lib/X11/lcDynamic.c
+++ b/xc/lib/X11/lcDynamic.c
@@ -28,9 +28,20 @@ from The Open Group.
* Modifier: Takanori Tateno FUJITSU LIMITED
*
*/
+/* $XFree86: xc/lib/X11/lcDynamic.c,v 1.2 2000/02/12 02:54:11 dawes Exp $ */
+
+/*
+ * A dynamically loaded locale.
+ * Supports: All locale names.
+ * How: Loads $(XLOCALEDIR)/xi18n.so and forwards the request to that library.
+ * Platforms: Only those defining USE_DYNAMIC_LOADER (none known).
+ */
+
#ifdef USE_DYNAMIC_LOADER
#include <stdio.h>
#include <string.h>
+#include <dlfcn.h>
+
#include "Xlibint.h"
#ifndef XLOCALEDIR
@@ -39,15 +50,6 @@ from The Open Group.
#define LCLIBNAME "xi18n.so"
-extern void *dlopen();
-extern void *dlsym();
-extern int dlclose();
-extern char *dlerror();
-
-#define LAZY 1
-#define NOW 2
-#define GLOBAL 0x100
-
XLCd
_XlcDynamicLoader(name)
char *name;