From db95bdbce05c9876158e7b14ec6a827f7e2453d8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Jun 1999 17:28:58 +0000 Subject: Update. * libio/libio.h (_IO_codecvt): Change __P ot __PMT. * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too --- libio/libio.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'libio/libio.h') 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; -- cgit 1.4.1