summaryrefslogtreecommitdiff
path: root/usr.bin/make/compat.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-09-16 12:09:37 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-09-16 12:09:37 +0000
commit6555d0f34894b30c5995ae2a70e227baddd0ad8b (patch)
treec9f7b180bd3a30b74dba203b0c9f4bc11485ff27 /usr.bin/make/compat.c
parentefd08e944942d0060ea6b889d7eddc409d56eaec (diff)
rename Targ_FmtTime into time_to_string and move it, as it's not related
to target nodes at all (reduces modules inter-dependencies)
Diffstat (limited to 'usr.bin/make/compat.c')
-rw-r--r--usr.bin/make/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index f0a33bd2a5b..cd64ce24cb6 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: compat.c,v 1.55 2007/09/16 10:39:07 espie Exp $ */
+/* $OpenBSD: compat.c,v 1.56 2007/09/16 12:09:36 espie Exp $ */
/* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */
/*
@@ -466,7 +466,7 @@ CompatMake(void *gnp, /* The node to make */
if (is_strictly_before(gn->mtime, gn->cmtime))
gn->mtime = gn->cmtime;
if (DEBUG(MAKE))
- printf("update time: %s\n", Targ_FmtTime(gn->mtime));
+ printf("update time: %s\n", time_to_string(gn->mtime));
if (!(gn->type & OP_EXEC)) {
pgn->childMade = true;
Make_TimeStamp(pgn, gn);