summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 13:34:16 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:17:57 -0700
commit5655c5004517a5a29c1e79a3ae182bd5d01acb30 (patch)
treeca4557e85639d01f5c7df2c0ca1f99281eabea6f /include/sys
parent3ae220f4cc1bbbda18012112467229319b88bf26 (diff)
downloaduClibc-alpine-5655c5004517a5a29c1e79a3ae182bd5d01acb30.tar.bz2
uClibc-alpine-5655c5004517a5a29c1e79a3ae182bd5d01acb30.tar.xz
sync a few headers with glibc (no functional changes)
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/time.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 1dfe4f36e..a6388e454 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991-1994,1996-2002,2003,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1994,1996-2003,2005,2006,2009
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -166,9 +167,9 @@ extern int futimesat (int __fd, __const char *__file,
NOTE: `timercmp' does not work for >= or <=. */
# define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
# define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
-# define timercmp(a, b, CMP) \
- (((a)->tv_sec == (b)->tv_sec) ? \
- ((a)->tv_usec CMP (b)->tv_usec) : \
+# define timercmp(a, b, CMP) \
+ (((a)->tv_sec == (b)->tv_sec) ? \
+ ((a)->tv_usec CMP (b)->tv_usec) : \
((a)->tv_sec CMP (b)->tv_sec))
# define timeradd(a, b, result) \
do { \