diff options
Diffstat (limited to 'libio/getchar.c')
-rw-r--r-- | libio/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/getchar.c b/libio/getchar.c index e7a236c..d54ec58 100644 --- a/libio/getchar.c +++ b/libio/getchar.c @@ -31,7 +31,8 @@ int getchar () { int result; - __libc_cleanup_region_start (&_IO_funlockfile, stdin); + __libc_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, + stdin); _IO_flockfile (stdin); result = _IO_getc_unlocked (stdin); __libc_cleanup_region_end (1); |