summary refs log tree commit diff
path: root/csu/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'csu/init.c')
-rw-r--r--csu/init.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/csu/init.c b/csu/init.c
index 178063b44b..c2f978f3da 100644
--- a/csu/init.c
+++ b/csu/init.c
@@ -16,11 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if defined __GNUC__ && __GNUC__ >= 2
-
-#include <stdio.h>
-
-/* This records which stdio is linked against in the application. */
-const int _IO_stdin_used = _G_IO_IO_FILE_VERSION;
-
-#endif
+/* Vestigial libio version number.  Some code in libio checks whether
+   this symbol exists in the executable, but nothing looks at its
+   value anymore; the value it was historically set to has been
+   preserved out of an abundance of caution.  */
+const int _IO_stdin_used = 0x20001;