summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-10 00:00:16 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-10 00:00:16 +0000
commita8922de8c70ba56fda40ce9e171c4069a6a90d53 (patch)
tree2a8f8a7b499ab4ab42c7713c3de24c4226cbc2cd /sysdeps
parenta5113b141cd85a98b4711607c430e6e01775bd9a (diff)
downloadglibc-a8922de8c70ba56fda40ce9e171c4069a6a90d53.tar.gz
Update for 960809.
Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to get `struct timeval'. * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>. * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>. * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P. * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. * gmon/sys/gmon.h: Include <sys/types.h> to get u_long. * sysdeps/unix/sysv/linux/direntry.h: Complete types in <linux/dirent.h>. * io/fts.h: Include <sys/types.h> to get dev_t. Reported by Matthias Urlichs. * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear _IO_file_flags. It's the same as _flags. Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>. Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index aa7d9c4ac0..267c01afc8 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -43,6 +43,10 @@ init (void *data)
char **argv = (char **)data + 1;
char **envp = &argv[argc + 1];
+ /* XXX Another gcc bug. We marked the function as `unused' but it
+ is still optimized away. */
+ volatile void *foo __attribute__ ((unused)) = &init;
+
#ifdef PIC
if (&__libc_is_static != NULL)
#endif