aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-14 12:16:30 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-14 12:16:30 +0000
commitf624c2161095fe47c9449caf9e68a1914913319f (patch)
tree7d91b72019f569a5212e2ab7d64838b174a9bd9d
parent7ef90c1595a5687b5a48b789718ecd20742465bf (diff)
downloadglibc-f624c2161095fe47c9449caf9e68a1914913319f.tar
glibc-f624c2161095fe47c9449caf9e68a1914913319f.tar.gz
glibc-f624c2161095fe47c9449caf9e68a1914913319f.tar.bz2
glibc-f624c2161095fe47c9449caf9e68a1914913319f.zip
Update.
1998-08-26 Geoff Keating <geoffk@ozemail.com.au> * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
-rw-r--r--ChangeLog4
-rw-r--r--csu/init.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 00d0704af6..9bb90352d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
+
+ * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
+
1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
diff --git a/csu/init.c b/csu/init.c
index df08f6c918..a2d16361f1 100644
--- a/csu/init.c
+++ b/csu/init.c
@@ -28,10 +28,9 @@
#if defined USE_IN_LIBIO && defined __GNUC__ && __GNUC__ >= 2
-#undef _LIBC
-#include <libio.h>
+#include <_G_config.h>
/* This records which stdio is linked against in the application. */
-const void *const _IO_stdin_used = _IO_stdin;
+const int _IO_stdin_used = _G_IO_IO_FILE_VERSION;
#endif