aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2012-12-03 12:15:17 -0700
committerJeff Law <law@redhat.com>2012-12-03 12:15:17 -0700
commit4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8 (patch)
tree88e06d1069d494eb8de26642ac5907dba8150be7
parent70e5aee461ed48b3acc77a00c59f554298274c5a (diff)
downloadglibc-4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8.zip
glibc-4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8.tar.gz
glibc-4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8.tar.bz2
* time/sys/time.h (settimeofday): Do not mark TV argument
as __nonnull.
-rw-r--r--ChangeLog5
-rw-r--r--time/sys/time.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 638934b..624078b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-03 Jeff Law <law@redhat.com>
+
+ * time/sys/time.h (settimeofday): Do not mark TV argument
+ as __nonnull.
+
2012-12-01 Mike Frysinger <vapier@gentoo.org>
* libio/fileops.c (_IO_new_file_close_it): Do not always flush
diff --git a/time/sys/time.h b/time/sys/time.h
index 0f5ef5c..f763d96 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -77,7 +77,7 @@ extern int gettimeofday (struct timeval *__restrict __tv,
This call is restricted to the super-user. */
extern int settimeofday (const struct timeval *__tv,
const struct timezone *__tz)
- __THROW __nonnull ((1));
+ __THROW;
/* Adjust the current time of day by the amount in DELTA.
If OLDDELTA is not NULL, it is filled in with the amount