summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-14 22:36:22 +0000
committerrobert <robert@FreeBSD.org>2002-08-14 22:36:22 +0000
commit6e77bfc7bdee4ede5316f67cff39a530b30b75b3 (patch)
tree17e7fb097f6077f09759ab1b7a4cfaada588c8d3 /include/time.h
parent476f71cec5c3fe99336f1ccd95b06c67707cda4e (diff)
downloadFreeBSD-src-6e77bfc7bdee4ede5316f67cff39a530b30b75b3.zip
FreeBSD-src-6e77bfc7bdee4ede5316f67cff39a530b30b75b3.tar.gz
- Add the C99 'restrict' qualifier using the '__restrict' macro to
function prototype and definition of strptime(3). - Update the manual page.
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 dd57670..e17feb3 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
OpenPOWER on IntegriCloud