summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-17 17:28:58 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-17 17:28:58 +0000
commitdb95bdbce05c9876158e7b14ec6a827f7e2453d8 (patch)
treec608bede88ff607cd21fa1285b999fb584a97fd1 /libio
parent1670698f4a3802bcd26f94e24419f17fa1248861 (diff)
downloadglibc-db95bdbce05c9876158e7b14ec6a827f7e2453d8.tar.gz
Update.
* libio/libio.h (_IO_codecvt): Change __P ot __PMT. * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
Diffstat (limited to 'libio')
-rw-r--r--libio/libio.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libio/libio.h b/libio/libio.h
index a3852886fc..ddf24b2456 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -201,26 +201,26 @@ enum __codecvt_result
of the virtual functions in the libstdc++ codecvt class. */
struct _IO_codecvt
{
- void (*__codecvt_destr) __P ((struct _IO_codecvt *));
- enum __codecvt_result (*__codecvt_do_out) __P ((struct _IO_codecvt *,
- __mbstate_t *,
- const wchar_t *,
- const wchar_t *,
- const wchar_t **, char *,
- char *, char **));
- enum __codecvt_result (*__codecvt_do_unshift) __P ((struct _IO_codecvt *,
- __mbstate_t *, char *,
- char *, char **));
- enum __codecvt_result (*__codecvt_do_in) __P ((struct _IO_codecvt *,
- __mbstate_t *,
- const char *, const char *,
- const char **, wchar_t *,
- wchar_t *, wchar_t **));
- int (*__codecvt_do_encoding) __P ((struct _IO_codecvt *));
- int (*__codecvt_do_always_noconv) __P ((struct _IO_codecvt *));
- int (*__codecvt_do_length) __P ((struct _IO_codecvt *, __mbstate_t *,
- const char *, const char *, _IO_size_t));
- int (*__codecvt_do_max_length) __P ((struct _IO_codecvt *));
+ void (*__codecvt_destr) __PMT ((struct _IO_codecvt *));
+ enum __codecvt_result (*__codecvt_do_out) __PMT ((struct _IO_codecvt *,
+ __mbstate_t *,
+ const wchar_t *,
+ const wchar_t *,
+ const wchar_t **, char *,
+ char *, char **));
+ enum __codecvt_result (*__codecvt_do_unshift) __PMT ((struct _IO_codecvt *,
+ __mbstate_t *, char *,
+ char *, char **));
+ enum __codecvt_result (*__codecvt_do_in) __PMT ((struct _IO_codecvt *,
+ __mbstate_t *,
+ const char *, const char *,
+ const char **, wchar_t *,
+ wchar_t *, wchar_t **));
+ int (*__codecvt_do_encoding) __PMT ((struct _IO_codecvt *));
+ int (*__codecvt_do_always_noconv) __PMT ((struct _IO_codecvt *));
+ int (*__codecvt_do_length) __PMT ((struct _IO_codecvt *, __mbstate_t *,
+ const char *, const char *, _IO_size_t));
+ int (*__codecvt_do_max_length) __PMT ((struct _IO_codecvt *));
_IO_iconv_t __cd_in;
_IO_iconv_t __cd_out;