summaryrefslogtreecommitdiff
path: root/csu/init.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:34:38 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:34:38 +0000
commit7576c27563a3e43c0a276bf222244bcaf220a6fa (patch)
treead96fd1f1b9b57a50005db7803f6b79e748bb820 /csu/init.c
parentab5f5211585bf0f33bbfa2d4aaf17e4f0d1fa564 (diff)
parent064374be911f72dfaec8a75f06da1f9fc1827712 (diff)
Merge branch 't/hurdsig-global-dispositions' into refs/top-bases/t/hurdsig-SA_SIGINFO
Diffstat (limited to 'csu/init.c')
-rw-r--r--csu/init.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/csu/init.c b/csu/init.c
index 93277268bb..c2f978f3da 100644
--- a/csu/init.c
+++ b/csu/init.c
@@ -1,5 +1,5 @@
/* Special startup support.
- Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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 <_G_config.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;