From ea1d6448fbc615b48105db18ac672bbbed054d9b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 7 Aug 2002 22:02:52 +0000 Subject: [PATCH] (posixtime): Return bool instead of time_t, so that we can return (time_t) -1 successfully. --- lib/posixtm.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/posixtm.h b/lib/posixtm.h index d2c01c9b6b..6b64a6eac4 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 -- 2.47.3