summaryrefslogtreecommitdiff
path: root/src/re_comp
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 13:24:41 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 13:24:41 -0500
commitb6125d7f21912ec151a3659750ab3edecad79397 (patch)
treeb6caf91f795e5b39baf802b1dc08b66899bbb599 /src/re_comp
parent7d080ea59666baf2d03149344f455ccc35d455c3 (diff)
merge XOPEN identifiers
Diffstat (limited to 'src/re_comp')
-rw-r--r--src/re_comp/re_comp.c10
-rw-r--r--src/re_comp/re_exec.c12
2 files changed, 22 insertions, 0 deletions
diff --git a/src/re_comp/re_comp.c b/src/re_comp/re_comp.c
new file mode 100644
index 00000000..88d8fb97
--- /dev/null
+++ b/src/re_comp/re_comp.c
@@ -0,0 +1,10 @@
+#include <re_comp.h>
+
+char *re_comp(const char *string)
+{
+ return string;
+}
+
+/*
+XOPEN(400,600)
+*/
diff --git a/src/re_comp/re_exec.c b/src/re_comp/re_exec.c
new file mode 100644
index 00000000..0e3b89e9
--- /dev/null
+++ b/src/re_comp/re_exec.c
@@ -0,0 +1,12 @@
+#include <re_comp.h>
+
+#define _XOPEN_LEGACY 500
+
+int re_exec(const char *string)
+{
+ return 0;
+}
+
+/*
+XOPEN(400,600)
+*/