projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
getdate.y
diff --git
a/lib/getdate.y
b/lib/getdate.y
index
c29c6c7
..
c698584
100644
(file)
--- a/
lib/getdate.y
+++ b/
lib/getdate.y
@@
-73,7
+73,7
@@
# include <string.h>
#endif
# include <string.h>
#endif
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ <
7)
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ <
8) || __STRICT_ANSI__
# define __attribute__(x)
#endif
# define __attribute__(x)
#endif
@@
-503,7
+503,7
@@
static table const relative_time_table[] =
{ "TODAY", tMINUTE_UNIT, 0 },
{ "NOW", tMINUTE_UNIT, 0 },
{ "LAST", tUNUMBER, -1 },
{ "TODAY", tMINUTE_UNIT, 0 },
{ "NOW", tMINUTE_UNIT, 0 },
{ "LAST", tUNUMBER, -1 },
- { "THIS", t
MINUTE_UNIT,
0 },
+ { "THIS", t
UNUMBER,
0 },
{ "NEXT", tUNUMBER, 1 },
{ "FIRST", tUNUMBER, 1 },
/*{ "SECOND", tUNUMBER, 2 }, */
{ "NEXT", tUNUMBER, 1 },
{ "FIRST", tUNUMBER, 1 },
/*{ "SECOND", tUNUMBER, 2 }, */