diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /lib/libc/stdtime/asctime.c | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
Diffstat (limited to 'lib/libc/stdtime/asctime.c')
| -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 832f18592ff32..b9da143029eb7 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; |
