summaryrefslogtreecommitdiff
path: root/lib/libedit/sys.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-09 19:31:56 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-09 19:31:56 +0000
commit80a77eb7c54fcb44f04621ea71a30027fb1da8ba (patch)
tree32b0e46441eb46a3113f53cdb7476677817b2aa0 /lib/libedit/sys.h
parent09d2092d537bbc1ca76871a1c7633a4c15c15705 (diff)
Always compile with WIDECHAR on and delete that preprocessor switch.
OK martijn@. Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.
Diffstat (limited to 'lib/libedit/sys.h')
-rw-r--r--lib/libedit/sys.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h
index 129547f86b7..82f0b7acee0 100644
--- a/lib/libedit/sys.h
+++ b/lib/libedit/sys.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys.h,v 1.15 2016/03/20 23:48:27 schwarze Exp $ */
+/* $OpenBSD: sys.h,v 1.16 2016/04/09 19:31:55 schwarze Exp $ */
/* $NetBSD: sys.h,v 1.13 2009/12/30 22:37:40 christos Exp $ */
/*-
@@ -96,11 +96,6 @@ ssize_t getline(char **line, size_t *len, FILE *fp);
#define REGEX /* Use POSIX.2 regular expression functions */
#undef REGEXP /* Use UNIX V8 regular expression functions */
-#ifndef WIDECHAR
-#define setlocale(c, l) /*LINTED*/NULL
-#define nl_langinfo(i) ""
-#endif
-
#if defined(__sun)
extern int tgetent(char *, const char *);
extern int tgetflag(char *);