summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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