summaryrefslogtreecommitdiff
path: root/libio/getchar.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
committerUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
commita68b0d31a37a86785b3dbeeee3fad96ee71fadcd (patch)
tree61537b1f028002a9e6e0f5354fced6128bda8b9c /libio/getchar.c
parent2d07133b507b13d4a5ed6dc250f4345c8a26942a (diff)
update from main archive 961001
Diffstat (limited to 'libio/getchar.c')
-rw-r--r--libio/getchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/getchar.c b/libio/getchar.c
index e7a236cf2e..d54ec58c1e 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);