summaryrefslogtreecommitdiff
path: root/lib/posixtm.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-08-07 22:02:52 +0000
committerJim Meyering <jim@meyering.net>2002-08-07 22:02:52 +0000
commitea1d6448fbc615b48105db18ac672bbbed054d9b (patch)
treed8efe5cf67c7dec8cebc294433d3e6adf84953e6 /lib/posixtm.h
parentc66dd95e8ea40347dbced77be419a0e148ede683 (diff)
downloadcoreutils-ea1d6448fbc615b48105db18ac672bbbed054d9b.tar.xz
(posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
Diffstat (limited to 'lib/posixtm.h')
-rw-r--r--lib/posixtm.h7
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