From 73b6bffcfb54e7d59146746da597161fbcb11b76 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 28 Jan 2001 05:38:29 +0000 Subject: Update. * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * time/time.h: Likewise. * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. * conform/data/complex.h-data: New file. * conform/data/tgmath.h-data: New file. * conform/data/wchar.h-data: Add missing functions. * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. * conform/data/termios.h-data: Add missing const in tcsetattr() prototype. * posix/sys/wait.h: Include and . Don't define pid_t here. * conform/data/sys/utsname.h-data: Don't provide fixed array sizes. --- sysdeps/gnu/bits/utmpx.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysdeps/gnu') diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h index 14ce5d4c41..eaaac39d95 100644 --- a/sysdeps/gnu/bits/utmpx.h +++ b/sysdeps/gnu/bits/utmpx.h @@ -1,5 +1,5 @@ /* Structures and definitions for the user accounting database. GNU version. - Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -71,7 +71,9 @@ struct utmpx /* Values for the `ut_type' field of a `struct utmpx'. */ #define EMPTY 0 /* No valid user accounting information. */ -#define RUN_LVL 1 /* The system's runlevel. */ +#ifdef __USE_GNU +# define RUN_LVL 1 /* The system's runlevel. */ +#endif #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. */ -- cgit 1.4.1