From d18ea0c5e669dd48ccceccfc90ff458dc333a81f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 23 May 2012 13:33:15 +0200 Subject: Remove use of INTDEF/INTUSE in libio --- include/libio.h | 7 +++++++ include/stdio.h | 7 +------ include/stdio_ext.h | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/libio.h b/include/libio.h index aca7000f8e..735941d230 100644 --- a/include/libio.h +++ b/include/libio.h @@ -10,6 +10,13 @@ libc_hidden_proto (__uflow) libc_hidden_proto (__woverflow) libc_hidden_proto (__wunderflow) libc_hidden_proto (__wuflow) +libc_hidden_proto (_IO_free_backup_area) +libc_hidden_proto (_IO_free_wbackup_area) +libc_hidden_proto (_IO_padn) +libc_hidden_proto (_IO_putc) +libc_hidden_proto (_IO_sgetn) +libc_hidden_proto (_IO_vfprintf) +libc_hidden_proto (_IO_vfscanf) #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive # undef _IO_flockfile diff --git a/include/stdio.h b/include/stdio.h index a2c73a452d..9f2ea31bc9 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -116,13 +116,8 @@ extern int __fxprintf (FILE *__fp, const char *__fmt, ...) extern const char *const _sys_errlist_internal[] attribute_hidden; extern int _sys_nerr_internal attribute_hidden; -extern int __asprintf_internal (char **__restrict __ptr, - const char *__restrict __fmt, ...) - attribute_hidden __attribute__ ((__format__ (__printf__, 2, 3))); +libc_hidden_proto (__asprintf) # if !defined NOT_IN_libc -# define __asprintf(ptr, fmt, args...) \ - INTUSE(__asprintf) (ptr, fmt, ##args) - extern _IO_FILE *_IO_new_fopen (const char*, const char*); # define fopen(fname, mode) _IO_new_fopen (fname, mode) extern _IO_FILE *_IO_new_fdopen (int, const char*); diff --git a/include/stdio_ext.h b/include/stdio_ext.h index c7b77246b7..354146f8e8 100644 --- a/include/stdio_ext.h +++ b/include/stdio_ext.h @@ -2,7 +2,7 @@ # include -extern int __fsetlocking_internal (FILE *__fp, int __type) attribute_hidden; +libc_hidden_proto (__fsetlocking) #define __fsetlocking(fp, type) \ ({ int __result = ((fp->_flags & _IO_USER_LOCK) \ -- cgit v1.2.3