summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1998-09-12 21:13:29 +0000
committerdt <dt@FreeBSD.org>1998-09-12 21:13:29 +0000
commit4933b6a9305afec5bb7d90746ae2dd6bef4932bd (patch)
tree38833f68057c2f0cd656abab5fbaccdceb551c48 /include/time.h
parent714948938bb3a857ee0b2a1a96699da355945a00 (diff)
downloadFreeBSD-src-4933b6a9305afec5bb7d90746ae2dd6bef4932bd.zip
FreeBSD-src-4933b6a9305afec5bb7d90746ae2dd6bef4932bd.tar.gz
Change return type of strptime from const char* to char*.
const char* was wrong and nonstandard.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index 1c63cf6..5840977 100644
--- a/include/time.h
+++ b/include/time.h
@@ -143,7 +143,7 @@ void tzset __P((void));
#endif /* not ANSI */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
-const char *strptime __P((const char *, const char *, struct tm *));
+char *strptime __P((const char *, const char *, struct tm *));
char *timezone __P((int, int));
void tzsetwall __P((void));
time_t timelocal __P((struct tm * const));
OpenPOWER on IntegriCloud