summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortshiozak <tshiozak@NetBSD.org>2004-08-01 16:40:58 +0000
committertshiozak <tshiozak@NetBSD.org>2004-08-01 16:40:58 +0000
commitab8d4be7c640e2e08c0d380ea4a33b4c5c66cd15 (patch)
treeb0bee99f64d3cccf78db3ea5ceb07d4a7866b9d5 /include
parent88c36114afacdd2154fbd88fa303d0ab3ca4ae71 (diff)
make sure that the iconv(3) follows the POSIX specification;
change the 2nd argument from "const char ** restrict" to "char ** restrict".
Diffstat (limited to 'include')
-rw-r--r--include/iconv.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/iconv.h b/include/iconv.h
index 87ff431b268..d200352018f 100644
--- a/include/iconv.h
+++ b/include/iconv.h
@@ -1,4 +1,4 @@
-/* $NetBSD: iconv.h,v 1.3 2003/08/22 14:05:03 kleink Exp $ */
+/* $NetBSD: iconv.h,v 1.4 2004/08/01 16:40:58 tshiozak Exp $ */
/*-
* Copyright (c)2003 Citrus Project,
@@ -43,9 +43,8 @@ typedef struct __tag_iconv_t *iconv_t;
__BEGIN_DECLS
iconv_t iconv_open __P((const char *, const char *));
-size_t iconv __P((iconv_t, const char ** __restrict,
- size_t * __restrict, char ** __restrict,
- size_t * __restrict));
+size_t iconv __P((iconv_t, char ** __restrict, size_t * __restrict,
+ char ** __restrict, size_t * __restrict));
int iconv_close __P((iconv_t));
/*
* non-portable interfaces for iconv