mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
version. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized version.
This commit is contained in:
parent
a2809b303c
commit
9c8d03d952
@ -1,3 +1,8 @@
|
||||
2007-04-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
|
||||
version.
|
||||
|
||||
2007-04-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
[BZ #4381]
|
||||
|
@ -44,6 +44,16 @@ getchar (void)
|
||||
}
|
||||
|
||||
|
||||
# ifdef __USE_MISC
|
||||
/* Faster version when locking is not necessary. */
|
||||
__STDIO_INLINE int
|
||||
fgetc_unlocked (FILE *__fp)
|
||||
{
|
||||
return _IO_getc_unlocked (__fp);
|
||||
}
|
||||
# endif /* misc */
|
||||
|
||||
|
||||
# if defined __USE_POSIX || defined __USE_MISC
|
||||
/* This is defined in POSIX.1:1996. */
|
||||
__STDIO_INLINE int
|
||||
|
Loading…
Reference in New Issue
Block a user