summaryrefslogtreecommitdiff
path: root/src/nl_types
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 13:23:59 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 13:23:59 -0500
commitba3c4cc6f3d7e844ed022f2efff3c692ed412305 (patch)
tree18cfc5422a679a8a6b4f7de463985ca2e45b735d /src/nl_types
parent287f2952eea32de2013bf981e47ea9899cdb688d (diff)
merge XOPEN identifiers
Diffstat (limited to 'src/nl_types')
-rw-r--r--src/nl_types/NL_CAT_LOCALE.c5
-rw-r--r--src/nl_types/NL_SETD.c5
-rw-r--r--src/nl_types/catclose.c10
-rw-r--r--src/nl_types/catgets.c10
-rw-r--r--src/nl_types/catopen.c10
-rw-r--r--src/nl_types/nl_catd.c5
-rw-r--r--src/nl_types/nl_item.c5
7 files changed, 50 insertions, 0 deletions
diff --git a/src/nl_types/NL_CAT_LOCALE.c b/src/nl_types/NL_CAT_LOCALE.c
new file mode 100644
index 00000000..1959f6c4
--- /dev/null
+++ b/src/nl_types/NL_CAT_LOCALE.c
@@ -0,0 +1,5 @@
+#include <nl_types.h>
+#define NL_CAT_LOCALE 1
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/NL_SETD.c b/src/nl_types/NL_SETD.c
new file mode 100644
index 00000000..eb58283c
--- /dev/null
+++ b/src/nl_types/NL_SETD.c
@@ -0,0 +1,5 @@
+#include <nl_types.h>
+#define NL_SETD 1
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/catclose.c b/src/nl_types/catclose.c
new file mode 100644
index 00000000..180139d6
--- /dev/null
+++ b/src/nl_types/catclose.c
@@ -0,0 +1,10 @@
+#include <nl_types.h>
+
+int catclose(nl_catd catd)
+{
+ return 0;
+}
+
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/catgets.c b/src/nl_types/catgets.c
new file mode 100644
index 00000000..9aebfea7
--- /dev/null
+++ b/src/nl_types/catgets.c
@@ -0,0 +1,10 @@
+#include <nl_types.h>
+
+char * catgets(nl_catd catd, int set_id, int msg_id, const char * s)
+{
+ return (char*)s;
+}
+
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/catopen.c b/src/nl_types/catopen.c
new file mode 100644
index 00000000..817b1075
--- /dev/null
+++ b/src/nl_types/catopen.c
@@ -0,0 +1,10 @@
+#include <nl_types.h>
+
+nl_catd catopen(const char* name, int oflag)
+{
+ return 0;
+}
+
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/nl_catd.c b/src/nl_types/nl_catd.c
new file mode 100644
index 00000000..cb156d01
--- /dev/null
+++ b/src/nl_types/nl_catd.c
@@ -0,0 +1,5 @@
+#include <nl_types.h>
+typedef unsigned long int nl_catd;
+/*
+XOPEN(4)
+*/
diff --git a/src/nl_types/nl_item.c b/src/nl_types/nl_item.c
new file mode 100644
index 00000000..1c71e422
--- /dev/null
+++ b/src/nl_types/nl_item.c
@@ -0,0 +1,5 @@
+#include <nl_types.h>
+typedef int nl_item;
+/*
+XOPEN(4)
+*/