diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-11-12 18:06:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-11-12 18:06:31 +0000 |
commit | d2537a474cb637bc49abc0baad75c01e5c245752 (patch) | |
tree | a6e20bfadb0fc266093fe40639ff7a0bf8b0619f /sysdeps/gnu/bits | |
parent | 085320f505022f7fbc53b229ef1dc31826e66c34 (diff) | |
download | glibc-d2537a474cb637bc49abc0baad75c01e5c245752.tar glibc-d2537a474cb637bc49abc0baad75c01e5c245752.tar.gz glibc-d2537a474cb637bc49abc0baad75c01e5c245752.tar.bz2 glibc-d2537a474cb637bc49abc0baad75c01e5c245752.zip |
Update.
1998-11-12 Ulrich Drepper <drepper@cygnus.com>
* inet/netinet/in.h: Add a few more IPPROTO_* macros.
* libio/Makefile (headers): Add bits/stdio.h.
* libio/iofread_u.c: Undefine fread_unlocked before definition.
* libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
* libio/stdio.h: Move optimizations into ...
* libio/bits/stdio.h: ...here. New file.
* libio/iofread.c: Pretty print.
1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/gnu/bits/utmpx.h: Protect members of struct
__exit_status with `__'. Rename pad member of struct utmpx to
__unused.
(RUN_LVL): Define unconditionally.
* sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmpx to
__unused.
1998-11-12 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
Linux AF_NETLINK sockets (needed since the kernel version is
unusable).
* sysdeps/unix/sysv/linux/Makefile: Install it.
* sysdeps/unix/sysv/linux/Dist: Distribute it.
1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/tst-timezone.c (tests): Add entry for America/Chicago
to test for bug in PR libc/863.
1998-11-12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
parameter lazy to do_lazy to avoid clashing with struct member name.
Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1998-11-10 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
if it is defined in <linux/limits.h>.
1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* include/protocols/routed.h: Include the real header with
a full path from the top of the source tree.
* include/protocols/rwhod.h: Likewise.
* include/protocols/talkd.h: Likewise.
* include/protocols/timed.h: Likewise.
* timezone/Makefile: Don't include z.ZONE files if no_deps
is set, not if avoid-generated is set.
1998-11-12 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Undo last change. Get definition of timespec
if __USE_POSIX199309.
* string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
size_t to prevent gcc warning when using -Wqual-cast.
(__strpbrk_c3): Likewise.
Suggested by Alan Curry <pacman@cqc.com>.
Diffstat (limited to 'sysdeps/gnu/bits')
-rw-r--r-- | sysdeps/gnu/bits/utmp.h | 2 | ||||
-rw-r--r-- | sysdeps/gnu/bits/utmpx.h | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/sysdeps/gnu/bits/utmp.h b/sysdeps/gnu/bits/utmp.h index 6a0beb61a9..9310e33ef9 100644 --- a/sysdeps/gnu/bits/utmp.h +++ b/sysdeps/gnu/bits/utmp.h @@ -63,7 +63,7 @@ struct utmp long ut_session; /* Session ID, used for windowing. */ struct timeval ut_tv; /* Time entry was made. */ int32_t ut_addr_v6[4]; /* Internet address of remote host. */ - char pad[20]; /* Reserved for future use. */ + char __unused[20]; /* Reserved for future use. */ }; /* Backwards compatibility hacks. */ diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h index b367bfba3c..b7613a1bee 100644 --- a/sysdeps/gnu/bits/utmpx.h +++ b/sysdeps/gnu/bits/utmpx.h @@ -40,8 +40,8 @@ type is used in `struct utmpx' below. */ struct __exit_status { - short int e_termination; /* Process termination status. */ - short int e_exit; /* Process exit status. */ + short int __e_termination; /* Process termination status. */ + short int __e_exit; /* Process exit status. */ }; @@ -59,16 +59,14 @@ struct utmpx long int ut_session; /* Session ID, used for windowing. */ struct timeval ut_tv; /* Time entry was made. */ __int32_t ut_addr_v6[4]; /* Internet address of remote host. */ - char pad[20]; /* Reserved for future use. */ + char __unused[20]; /* Reserved for future use. */ }; /* Values for the `ut_type' field of a `struct utmpx'. */ #define EMPTY 0 /* No valid user accounting information. */ -#ifdef __USE_GNU -# define RUN_LVL 1 /* The system's runlevel. */ -#endif +#define RUN_LVL 1 /* The system's runlevel. */ #define BOOT_TIME 2 /* Time of system boot. */ #define NEW_TIME 3 /* Time after system clock changed. */ #define OLD_TIME 4 /* Time when system clock changed. */ |