aboutsummaryrefslogtreecommitdiff
path: root/libio/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/getc.c')
-rw-r--r--libio/getc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/getc.c b/libio/getc.c
index 82e5756..c345e44 100644
--- a/libio/getc.c
+++ b/libio/getc.c
@@ -33,7 +33,7 @@ getc (fp)
{
int result;
CHECK_FILE (fp, EOF);
- __libc_cleanup_region_start (&_IO_funlockfile, fp);
+ __libc_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
_IO_flockfile (fp);
result = _IO_getc_unlocked (fp);
__libc_cleanup_region_end (1);