aboutsummaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2002-08-14 22:36:22 +0000
committerRobert Drehmel <robert@FreeBSD.org>2002-08-14 22:36:22 +0000
commitd542f511a0b87b12a2b2459f8995921449f86c82 (patch)
tree17e7fb097f6077f09759ab1b7a4cfaada588c8d3 /include/time.h
parent912dd12ad153a8369731d6cb92c334704c504db4 (diff)
downloadsrc-d542f511a0b87b12a2b2459f8995921449f86c82.tar.gz
src-d542f511a0b87b12a2b2459f8995921449f86c82.zip
- Add the C99 'restrict' qualifier using the '__restrict' macro to
function prototype and definition of strptime(3). - Update the manual page.
Notes
Notes: svn path=/head/; revision=101886
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index dd576708f441..e17feb3b2427 100644
--- a/include/time.h
+++ b/include/time.h
@@ -143,7 +143,8 @@ struct tm *localtime_r(const time_t *, struct tm *);
#endif
#if __XSI_VISIBLE
-char *strptime(const char *, const char *, struct tm *);
+char *strptime(const char *__restrict, const char *__restrict,
+ struct tm *__restrict);
#endif
#if __BSD_VISIBLE