diff options
| author | christos <christos@NetBSD.org> | 1998-10-18 14:24:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1998-10-18 14:24:16 +0000 |
| commit | ff08129ca56e8cee2bcad1fba08dcecf744fcdbe (patch) | |
| tree | b723a19fb4947d29ee9a5c3b6b5514eee6965f82 /usr.bin/make | |
| parent | 3b7c5b4ed8b05f0be4a69d0065f48388d1f92798 (diff) | |
strftime is not needed for svr4 machines; also fix the prototype footprint.
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/util.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index 4056daa7608..07dd6d87f1a 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -1,15 +1,15 @@ -/* $NetBSD: util.c,v 1.17 1998/09/18 20:15:36 christos Exp $ */ +/* $NetBSD: util.c,v 1.18 1998/10/18 14:24:16 christos Exp $ */ /* * Missing stuff from OS's */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: util.c,v 1.17 1998/09/18 20:15:36 christos Exp $"; +static char rcsid[] = "$NetBSD: util.c,v 1.18 1998/10/18 14:24:16 christos Exp $"; #else #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: util.c,v 1.17 1998/09/18 20:15:36 christos Exp $"); +__RCSID("$NetBSD: util.c,v 1.18 1998/10/18 14:24:16 christos Exp $"); #endif #endif @@ -430,12 +430,13 @@ snprintf(va_alist) return rv; } +#ifndef __SVR4 int strftime(buf, len, fmt, tm) char *buf; size_t len; const char *fmt; - struct tm *tm; + const struct tm *tm; { static char months[][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", @@ -493,3 +494,4 @@ strftime(buf, len, fmt, tm) } } #endif +#endif |
