glibc/sysdeps
Zack Weinberg 1baae4aa6f
Don't use the argument to time.
It doesn't make sense to remove all the internal uses of time.
It's still a standard ISO C function, and its callers don't need
sub-second resolution and would be unnecessarily complicated if
they had to declare a struct timespec instead of just a time_t.
However, a handful of places were using the vestigial "result"
argument instead of the return value, which is slightly less
efficient and also looks strange.  Correct this.

	* misc/syslog.c (__vsyslog_internal)
	* time/getdate.c (__getdate_r)
	* time/tst_wcsftime.c (main):
	Use return value of time, not its argument.

	* string/strfry.c (strfry)
	* sysdeps/mach/sleep.c (__sleep):
	Remove unnecessary casts of NULL in calls to time.
2019-08-21 08:26:36 -04:00
..
aarch64 aarch64: Disable using DC ZVA in emag memset 2019-08-14 10:58:21 +08:00
alpha Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
arm Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
csky Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
generic login: Assume that _HAVE_UT_* constants are true 2019-08-13 12:09:32 +02:00
gnu login: Add nonstring attributes to struct utmp, struct utmpx [BZ #24899] 2019-08-15 16:09:43 +02:00
hppa Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
htl hurd: advertise *_setpshared as not supported 2019-01-02 22:21:34 +01:00
hurd Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
i386 Update i386 libm-test-ulps 2019-08-20 17:06:02 +02:00
ia64 Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
ieee754 Make totalorder and totalordermag functions take pointer arguments. 2019-08-15 15:18:34 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
m68k Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
mach Don't use the argument to time. 2019-08-21 08:26:36 -04:00
microblaze Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
mips Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
nios2 Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
nptl nptl: Move pthread_attr_getdetachstate implementation into libc 2019-08-16 22:44:44 +02:00
posix Do not print backtraces on fatal glibc errors 2019-08-19 15:41:29 +02:00
powerpc Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
pthread nptl: Add POSIX-proposed sem_clockwait 2019-07-12 13:36:23 +00:00
riscv Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
s390 Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
sh Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
sparc Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
unix Do not print backtraces on fatal glibc errors 2019-08-19 15:41:29 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
x86 Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
x86_64 x86-64: Compile branred.c with -mprefer-vector-width=128 [BZ #24603] 2019-07-24 14:48:43 -07:00