summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-04-15 09:09:20 +0000
committertijl <tijl@FreeBSD.org>2015-04-15 09:09:20 +0000
commitb0813ee288f64f677a2cebf7815754b027a8215b (patch)
tree87498bf268bfd011fdf8bf597761671de1049b22 /bin/csh
parent788163adc0d01b144c16af2c10940df70141614a (diff)
downloadFreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.zip
FreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.tar.gz
Remove the const qualifier from iconv(3) to comply with POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv. PR: 199099 Exp-run by: antoine MFC after: 2 weeks
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/csh/config.h b/bin/csh/config.h
index 99f7d0b..99aed5f 100644
--- a/bin/csh/config.h
+++ b/bin/csh/config.h
@@ -198,7 +198,7 @@
#define HAVE_WCWIDTH 1
/* Define as const if the declaration of iconv() needs const. */
-#define ICONV_CONST const
+#define ICONV_CONST
/* Support NLS. */
#define NLS 1
OpenPOWER on IntegriCloud