summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls/catgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/nls/catgets.c')
-rw-r--r--lib/libc/nls/catgets.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/libc/nls/catgets.c b/lib/libc/nls/catgets.c
new file mode 100644
index 0000000..c29cf64
--- /dev/null
+++ b/lib/libc/nls/catgets.c
@@ -0,0 +1,28 @@
+/* $Id$ */
+
+/*
+ * Written by J.T. Conklin, 10/05/94
+ * Public domain.
+ */
+
+#include <sys/cdefs.h>
+
+#ifdef __indr_reference
+__indr_reference(_catgets,catgets);
+#else
+
+#include <nl_types.h>
+
+extern char * _catgets __P((nl_catd, int, int, char *));
+
+char *
+catgets(catd, set_id, msg_id, s)
+ nl_catd catd;
+ int set_id;
+ int msg_id;
+ char *s;
+{
+ return _catgets(catd, set_id, msg_id, s);
+}
+
+#endif
OpenPOWER on IntegriCloud