Add unused attribute to declaration for mips16 builds.
[glibc.git] / include / libio.h
blob97fc5b548b94e919491381ed54892524791d41b9
1 #if !defined _ISOMAC && defined _IO_MTSAFE_IO
2 # include <stdio-lock.h>
3 #endif
4 #include <libio/libio.h>
6 #ifndef _ISOMAC
7 #ifndef _LIBC_LIBIO_H
8 #define _LIBC_LIBIO_H
10 libc_hidden_proto (__overflow)
11 libc_hidden_proto (__underflow)
12 libc_hidden_proto (__uflow)
13 libc_hidden_proto (__woverflow)
14 libc_hidden_proto (__wunderflow)
15 libc_hidden_proto (__wuflow)
16 libc_hidden_proto (_IO_free_backup_area)
17 libc_hidden_proto (_IO_free_wbackup_area)
18 libc_hidden_proto (_IO_padn)
19 libc_hidden_proto (_IO_putc)
20 libc_hidden_proto (_IO_sgetn)
21 libc_hidden_proto (_IO_vfprintf)
22 libc_hidden_proto (_IO_vfscanf)
24 #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive
25 # undef _IO_flockfile
26 # define _IO_flockfile(_fp) \
27 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
28 _IO_lock_lock (*(_fp)->_lock)
29 # undef _IO_funlockfile
30 # define _IO_funlockfile(_fp) \
31 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
32 _IO_lock_unlock (*(_fp)->_lock)
33 #endif
35 #endif
36 #endif