From 7c57ee8ebfa7104c6d19e588d08f7c4051317e63 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 6 Jun 2017 22:48:20 +0200 Subject: sys/time.h: sync with GNU C library In commit 4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8 non-null check was removed. Fixes a compiler warning when trying to compile systemd. --- include/sys/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/time.h b/include/sys/time.h index 3b7a106be..bc5e723cb 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -78,7 +78,7 @@ libc_hidden_proto(gettimeofday) This call is restricted to the super-user. */ extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) - __THROW __nonnull ((1)); + __THROW; libc_hidden_proto(settimeofday) /* Adjust the current time of day by the amount in DELTA. -- cgit v1.2.3