summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:22:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:27:48 -0800
commit585f58fa3b754e36ea97886261e7ac190d2dfeb4 (patch)
treeabc7da83481e70cfbee90a41c5dfdab8d87d6837
parent7b4af57e8a1471747e17fff184032d8250e598b6 (diff)
unifdef NCR
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/XawI18n.c11
-rw-r--r--src/XawI18n.h5
2 files changed, 0 insertions, 16 deletions
diff --git a/src/XawI18n.c b/src/XawI18n.c
index ecb7b4f..353b21e 100644
--- a/src/XawI18n.c
+++ b/src/XawI18n.c
@@ -73,14 +73,3 @@ wchar_t _Xaw_atowc(
mbtowc(&wc, str, 1);
return wc;
}
-
-#ifdef NCR
-int _Xaw_iswspace(wchar_t w)
-{
- int ret = 0;
- wchar_t s = _Xaw_atowc(' ');
- if (s == w)
- ret = 1;
- return ret;
-}
-#endif
diff --git a/src/XawI18n.h b/src/XawI18n.h
index f1a1b06..86cd891 100644
--- a/src/XawI18n.h
+++ b/src/XawI18n.h
@@ -43,11 +43,6 @@ in this Software without prior written authorization from the X Consortium.
#include <ctype.h>
#endif
-#ifdef NCR
-#define iswspace(c) _Xaw_iswspace(c)
-extern int _Xaw_iswspace(wchar_t);
-#endif
-
#ifdef sony
#ifndef SVR4
#include <jctype.h>