about summary refs log tree commit diff
path: root/libio/oldiofclose.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-22 07:17:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-22 07:17:28 +0000
commitd4144f187e037566005460fd89dd28bd9956aa3f (patch)
tree4208ddefe5b7fd76b90d99da0733f8345f73783d /libio/oldiofclose.c
parent2ae13e200c9d032a98e184f7aca5288d572c7251 (diff)
downloadglibc-d4144f187e037566005460fd89dd28bd9956aa3f.tar.gz
glibc-d4144f187e037566005460fd89dd28bd9956aa3f.tar.xz
glibc-d4144f187e037566005460fd89dd28bd9956aa3f.zip
Update for new SHLIB_COMPAT definition.
Diffstat (limited to 'libio/oldiofclose.c')
-rw-r--r--libio/oldiofclose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldiofclose.c b/libio/oldiofclose.c
index d9420316a9..41256c6857 100644
--- a/libio/oldiofclose.c
+++ b/libio/oldiofclose.c
@@ -24,7 +24,7 @@
    General Public License.  */
 
 #include <shlib-compat.h>
-#if SHLIB_COMPAT (libc, GLIBC_2_0)
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2.1)
 
 #define _IO_USE_OLD_IO_FILE
 #include "libioP.h"
@@ -46,7 +46,7 @@ _IO_old_fclose (fp)
   if (fp->_vtable_offset == 0)
     return _IO_new_fclose (fp);
 
-  _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
+  _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, fp);
   _IO_flockfile (fp);
   if (fp->_IO_file_flags & _IO_IS_FILEBUF)
     status = _IO_old_file_close_it (fp);