diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-04-25 00:00:57 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-04-25 00:00:57 +0000 |
| commit | 1e0b4d82388dcdd1bcad5d382f4c532899895b70 (patch) | |
| tree | 3c1dabf2c350e5c98c150487e632c244cf5d7131 /lib/libc/stdtime | |
| parent | a2a029d24aadcfc3e933974c32e3f67c542a80fe (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime')
| -rw-r--r-- | lib/libc/stdtime/asctime.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/stdtime/asctime.c b/lib/libc/stdtime/asctime.c index 832f18592ff3..b9da143029eb 100644 --- a/lib/libc/stdtime/asctime.c +++ b/lib/libc/stdtime/asctime.c @@ -14,6 +14,10 @@ static char elsieid[] = "@(#)asctime.c 7.7"; #include "private.h" #include "tzfile.h" +#ifndef _THREAD_SAFE +static char *asctime_r __P((const struct tm *, char *)); +#endif + /* ** A la X3J11, with core dump avoidance. */ @@ -28,6 +32,9 @@ const struct tm * timeptr; return(asctime_r(timeptr, result)); } +#ifndef _THREAD_SAFE +static +#endif char * asctime_r(timeptr, result) const struct tm * timeptr; |
