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