Browse Source

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.
Waldemar Brodkorb 6 years ago
parent
commit
7c57ee8ebf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/sys/time.h

+ 1 - 1
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.