diff options
author | Jim Meyering <jim@meyering.net> | 2002-08-07 22:02:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-08-07 22:02:52 +0000 |
commit | ea1d6448fbc615b48105db18ac672bbbed054d9b (patch) | |
tree | d8efe5cf67c7dec8cebc294433d3e6adf84953e6 | |
parent | c66dd95e8ea40347dbced77be419a0e148ede683 (diff) | |
download | coreutils-ea1d6448fbc615b48105db18ac672bbbed054d9b.tar.xz |
(posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
-rw-r--r-- | lib/posixtm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/posixtm.h b/lib/posixtm.h index d2c01c9b6..6b64a6eac 100644 --- a/lib/posixtm.h +++ b/lib/posixtm.h @@ -15,10 +15,7 @@ # endif # endif -time_t -posixtime PARAMS ((const char *s, unsigned int syntax_bits)); - -struct tm * -posixtm PARAMS ((const char *s, unsigned int syntax_bits)); +bool +posixtime PARAMS ((time_t *p, const char *s, unsigned int syntax_bits)); #endif |