[tz] [PROPOSED PATCH 2/4] * private.h (asctime_r): Qualify arguments with 'restrict'.
Paul Eggert
eggert at cs.ucla.edu
Sat Aug 23 01:42:26 UTC 2014
This is for compatibility with POSIX.
---
private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/private.h b/private.h
index 529b1dc..14a9d53 100644
--- a/private.h
+++ b/private.h
@@ -308,7 +308,7 @@ time_t time(time_t *);
*/
#ifndef asctime_r
-extern char * asctime_r(struct tm const *, char *);
+extern char * asctime_r(struct tm const *restrict, char *restrict);
#endif
/*
--
1.9.1
More information about the tz
mailing list