summaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/REG_BADBR.h6
-rw-r--r--src/regex/REG_BADPAT.h6
-rw-r--r--src/regex/REG_BADRPT.h6
-rw-r--r--src/regex/REG_EBRACE.h6
-rw-r--r--src/regex/REG_EBRACK.h6
-rw-r--r--src/regex/REG_ECOLLATE.h6
-rw-r--r--src/regex/REG_ECTYPE.h6
-rw-r--r--src/regex/REG_EESCAPE.h6
-rw-r--r--src/regex/REG_ENOSYS.h6
-rw-r--r--src/regex/REG_EPAREN.h6
-rw-r--r--src/regex/REG_ERANGE.h6
-rw-r--r--src/regex/REG_ESPACE.h6
-rw-r--r--src/regex/REG_ESUBREG.h6
-rw-r--r--src/regex/REG_EXTENDED.h6
-rw-r--r--src/regex/REG_ICASE.h6
-rw-r--r--src/regex/REG_NEWLINE.h6
-rw-r--r--src/regex/REG_NOMATCH.h6
-rw-r--r--src/regex/REG_NOSUB.h6
-rw-r--r--src/regex/REG_NOTBOL.h6
-rw-r--r--src/regex/REG_NOTEOL.h6
-rw-r--r--src/regex/regcomp.c20
-rw-r--r--src/regex/regerror.c21
-rw-r--r--src/regex/regex_t.h10
-rw-r--r--src/regex/regexec.c22
-rw-r--r--src/regex/regfree.c18
-rw-r--r--src/regex/regmatch_t.h10
-rw-r--r--src/regex/regoff_t.h6
27 files changed, 0 insertions, 227 deletions
diff --git a/src/regex/REG_BADBR.h b/src/regex/REG_BADBR.h
deleted file mode 100644
index 39c38d8e..00000000
--- a/src/regex/REG_BADBR.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_BADBR (10)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_BADPAT.h b/src/regex/REG_BADPAT.h
deleted file mode 100644
index 9df88255..00000000
--- a/src/regex/REG_BADPAT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_BADPAT (2)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_BADRPT.h b/src/regex/REG_BADRPT.h
deleted file mode 100644
index db7f750c..00000000
--- a/src/regex/REG_BADRPT.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_BADRPT (13)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_EBRACE.h b/src/regex/REG_EBRACE.h
deleted file mode 100644
index f198a6f9..00000000
--- a/src/regex/REG_EBRACE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_EBRACE (9)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_EBRACK.h b/src/regex/REG_EBRACK.h
deleted file mode 100644
index 867613e5..00000000
--- a/src/regex/REG_EBRACK.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_EBRACK (7)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ECOLLATE.h b/src/regex/REG_ECOLLATE.h
deleted file mode 100644
index 82524785..00000000
--- a/src/regex/REG_ECOLLATE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ECOLLATE (3)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ECTYPE.h b/src/regex/REG_ECTYPE.h
deleted file mode 100644
index 30d9b1dd..00000000
--- a/src/regex/REG_ECTYPE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ECTYPE (4)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_EESCAPE.h b/src/regex/REG_EESCAPE.h
deleted file mode 100644
index c331540e..00000000
--- a/src/regex/REG_EESCAPE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_EESCAPE (5)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ENOSYS.h b/src/regex/REG_ENOSYS.h
deleted file mode 100644
index 25218610..00000000
--- a/src/regex/REG_ENOSYS.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ENOSYS (-1)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_EPAREN.h b/src/regex/REG_EPAREN.h
deleted file mode 100644
index d9513988..00000000
--- a/src/regex/REG_EPAREN.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_EPAREN (8)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ERANGE.h b/src/regex/REG_ERANGE.h
deleted file mode 100644
index ff85a8da..00000000
--- a/src/regex/REG_ERANGE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ERANGE (11)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ESPACE.h b/src/regex/REG_ESPACE.h
deleted file mode 100644
index 81971dcb..00000000
--- a/src/regex/REG_ESPACE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ESPACE (12)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ESUBREG.h b/src/regex/REG_ESUBREG.h
deleted file mode 100644
index 48353dbc..00000000
--- a/src/regex/REG_ESUBREG.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ESUBREG (6)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_EXTENDED.h b/src/regex/REG_EXTENDED.h
deleted file mode 100644
index 8b665c9e..00000000
--- a/src/regex/REG_EXTENDED.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_EXTENDED (1<<0)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_ICASE.h b/src/regex/REG_ICASE.h
deleted file mode 100644
index a06e5cd9..00000000
--- a/src/regex/REG_ICASE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_ICASE (1<<1)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_NEWLINE.h b/src/regex/REG_NEWLINE.h
deleted file mode 100644
index a77ca4f3..00000000
--- a/src/regex/REG_NEWLINE.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_NEWLINE (1<<3)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_NOMATCH.h b/src/regex/REG_NOMATCH.h
deleted file mode 100644
index 7437dc81..00000000
--- a/src/regex/REG_NOMATCH.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_NOMATCH (1)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_NOSUB.h b/src/regex/REG_NOSUB.h
deleted file mode 100644
index b60dae7e..00000000
--- a/src/regex/REG_NOSUB.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_NOSUB (1<<2)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_NOTBOL.h b/src/regex/REG_NOTBOL.h
deleted file mode 100644
index 07ec5a49..00000000
--- a/src/regex/REG_NOTBOL.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_NOTBOL (1<<0)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/REG_NOTEOL.h b/src/regex/REG_NOTEOL.h
deleted file mode 100644
index b9cc8f09..00000000
--- a/src/regex/REG_NOTEOL.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-#define REG_NOTEOL (1<<1)
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c
deleted file mode 100644
index ea7214d6..00000000
--- a/src/regex/regcomp.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#if 0
-
-#include <sys/types.h>
-#include <regex.h>
-
-int regcomp(regex_t * restrict preg, const char * restrict pattern, int cflags)
-{
- (void)preg;
- (void)pattern;
- (void)cflags;
- return 0;
-}
-
-
-/*
-POSIX(2)
-*/
-
-
-#endif
diff --git a/src/regex/regerror.c b/src/regex/regerror.c
deleted file mode 100644
index 129c97df..00000000
--- a/src/regex/regerror.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#if 0
-
-#include <sys/types.h>
-#include <regex.h>
-
-size_t regerror(int errcode, const regex_t * restrict preg, char * restrict errbuf, size_t errbuf_size)
-{
- (void)errcode;
- (void)preg;
- (void)errbuf;
- (void)errbuf_size;
- return 0;
-}
-
-/*
-POSIX(2)
-*/
-
-
-
-#endif
diff --git a/src/regex/regex_t.h b/src/regex/regex_t.h
deleted file mode 100644
index dba1a5e4..00000000
--- a/src/regex/regex_t.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <regex.h>
-
-typedef struct {
- size_t re_nsub;
-} regex_t;
-
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/regexec.c b/src/regex/regexec.c
deleted file mode 100644
index fdfcc047..00000000
--- a/src/regex/regexec.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#if 0
-
-#include <sys/types.h>
-#include <regex.h>
-
-int regexec(const regex_t * restrict preg, const char * restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags)
-{
- (void)preg;
- (void)string;
- (void)nmatch;
- (void)pmatch;
- (void)eflags;
- return 0;
-}
-
-/*
-POSIX(2)
-*/
-
-
-
-#endif
diff --git a/src/regex/regfree.c b/src/regex/regfree.c
deleted file mode 100644
index 572af6af..00000000
--- a/src/regex/regfree.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#if 0
-
-#include <sys/types.h>
-#include <regex.h>
-#include <stdlib.h>
-
-void regfree(regex_t * preg)
-{
- free(preg);
-}
-
-/*
-POSIX(2)
-*/
-
-
-
-#endif
diff --git a/src/regex/regmatch_t.h b/src/regex/regmatch_t.h
deleted file mode 100644
index 0525530a..00000000
--- a/src/regex/regmatch_t.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <regex.h>
-
-typedef struct {
- regoff_t rm_so;
- regoff_t rm_eo;
-} regmatch_t;
-/*
-POSIX(2)
-*/
-
diff --git a/src/regex/regoff_t.h b/src/regex/regoff_t.h
deleted file mode 100644
index a87283e1..00000000
--- a/src/regex/regoff_t.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <regex.h>
-typedef long long int regoff_t;
-/*
-POSIX(2)
-*/
-