summaryrefslogtreecommitdiff
path: root/src/wchar
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
commit40e2986d3d196855bba3836a60a482fd3a0f73a8 (patch)
tree6ce03ea7ddffb7f0001bff12706b21f9bce3c67e /src/wchar
parent421cc9cd7295e5b92cf167a41bd8f55a3b842728 (diff)
remove posix and xopen specific functions
Diffstat (limited to 'src/wchar')
-rw-r--r--src/wchar/wcswcs.c26
-rw-r--r--src/wchar/wcswidth.c20
-rw-r--r--src/wchar/wcwidth.c20
3 files changed, 0 insertions, 66 deletions
diff --git a/src/wchar/wcswcs.c b/src/wchar/wcswcs.c
deleted file mode 100644
index 07aff7d4..00000000
--- a/src/wchar/wcswcs.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#if 0
-
-#ifdef __STDC_VERSION__
-#include <wchar.h>
-#else
-#include <stddef.h>
-#include "wctype/wint_t.c"
-#include "wctype/wctrans_t.c"
-#define wcsstr __wcsstr
-#include "wcsstr.c"
-#endif
-
-wchar_t * wcswcs(const wchar_t * s1, const wchar_t * s2)
-{
- SIGNAL_SAFE(0);
- /* TODO: overlap */
-
- return wcsstr(s1, s2);
-}
-
-/*
-XOPEN(4,700)
-*/
-
-
-#endif
diff --git a/src/wchar/wcswidth.c b/src/wchar/wcswidth.c
deleted file mode 100644
index 3aadc89b..00000000
--- a/src/wchar/wcswidth.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#if 0
-
-#include <stddef.h>
-#include "wctype/wint_t.c"
-#include "wctype/wctrans_t.c"
-#include <wchar.h>
-
-int wcswidth(const wchar_t * wcsptr, size_t n)
-{
- SIGNAL_SAFE(0);
-
-}
-
-/*
-XOPEN(4)
-NOTE: this portion is shaded WP in SUSv1
-*/
-
-
-#endif
diff --git a/src/wchar/wcwidth.c b/src/wchar/wcwidth.c
deleted file mode 100644
index 62ad08bb..00000000
--- a/src/wchar/wcwidth.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#if 0
-
-#include <stddef.h>
-#include "wctype/wint_t.c"
-#include "wctype/wctrans_t.c"
-#include <wchar.h>
-
-int wcwidth(wchar_t wc)
-{
- SIGNAL_SAFE(0);
-
-}
-
-/*
-XOPEN(4)
-NOTE: this function is shaded "WP" in SUSv1
-*/
-
-
-#endif