about summary refs log tree commit diff
path: root/libio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/freopen.c')
-rw-r--r--libio/freopen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libio/freopen.c b/libio/freopen.c
index ff57d6033d..c443bbc2eb 100644
--- a/libio/freopen.c
+++ b/libio/freopen.c
@@ -27,7 +27,7 @@
 #include "stdio.h"
 
 FILE*
-freopen (filename, mode, fp)
+__new_freopen (filename, mode, fp)
      const char* filename;
      const char* mode;
      FILE* fp;
@@ -42,3 +42,5 @@ freopen (filename, mode, fp)
   _IO_cleanup_region_end (1);
   return result;
 }
+
+symbol_version (__new_freopen, freopen, GLIBC_2.1);