summaryrefslogtreecommitdiff
path: root/iconv/iconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/iconv.h')
-rw-r--r--iconv/iconv.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/iconv/iconv.h b/iconv/iconv.h
index dac885bec8..217156cdad 100644
--- a/iconv/iconv.h
+++ b/iconv/iconv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,20 +32,19 @@ typedef void *iconv_t;
/* Allocate descriptor for code conversion from codeset FROMCODE to
codeset TOCODE. */
-extern iconv_t iconv_open __P ((__const char *__tocode,
- __const char *__fromcode));
+extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode)
+ __THROW;
/* Convert at most *INBYTESLEFT bytes from *INBUF according to the
code conversion algorithm specified by CD and place up to
*OUTBYTESLEFT bytes in buffer at *OUTBUF. */
-extern size_t iconv __P ((iconv_t cd,
- __const char **__restrict __inbuf,
- size_t *__restrict __inbytesleft,
- char **__restrict __outbuf,
- size_t *__restrict __outbytesleft));
+extern size_t iconv (iconv_t cd, __const char **__restrict __inbuf,
+ size_t *__restrict __inbytesleft,
+ char **__restrict __outbuf,
+ size_t *__restrict __outbytesleft);
/* Free resources allocated for descriptor CD for code conversion. */
-extern int iconv_close __P ((iconv_t __cd));
+extern int iconv_close (iconv_t __cd) __THROW;
__END_DECLS