From: Jim Meyering Date: Wed, 7 Aug 2002 22:02:52 +0000 (+0000) Subject: (posixtime): Return bool instead of time_t, so X-Git-Tag: SH-UTILS-2_0_15~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea1d6448fbc615b48105db18ac672bbbed054d9b;p=thirdparty%2Fcoreutils.git (posixtime): Return bool instead of time_t, so that we can return (time_t) -1 successfully. --- 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