diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-09-28 23:35:07 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-09-28 23:35:07 +0000 |
commit | 21a07813ecb6d52e631980a3874beb9070b358ec (patch) | |
tree | 10a7fe1fae5804f47e1e5cc182a0cc6dc1eb7138 /usr.bin/make/targ.c | |
parent | edeb25e503d73463726076b782d5243ae2ad3d53 (diff) | |
download | FreeBSD-src-21a07813ecb6d52e631980a3874beb9070b358ec.zip FreeBSD-src-21a07813ecb6d52e631980a3874beb9070b358ec.tar.gz |
Make make(1) WARNS=6 clean except for const issues. This mostly involves
renaming variables to not shadow libc functions or greater scope locals. Kinda
makes one wonder if the extern ones weren't meant in some of these places :)
The only thing I'd still like to do WRT this is possibly combine rstat and
status in compat.c -- that should be fine, as I do not think the codepaths
will want both around at once.
Sponsored by: Bright Path Solutions
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r-- | usr.bin/make/targ.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index e1f68db..851b7a9 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -456,13 +456,13 @@ Targ_PrintCmd (cmd, dummy) *----------------------------------------------------------------------- */ char * -Targ_FmtTime (time) - time_t time; +Targ_FmtTime (modtime) + time_t modtime; { struct tm *parts; static char buf[128]; - parts = localtime(&time); + parts = localtime(&modtime); strftime(buf, sizeof buf, "%H:%M:%S %b %d, %Y", parts); buf[sizeof(buf) - 1] = '\0'; |