diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2002-01-19 23:20:02 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2002-01-19 23:20:02 +0000 |
commit | 170ac683f26f1d05a019b0623b51b4b8f4576ada (patch) | |
tree | 262f00c422f3272c4031c870d746ed14c2f757d5 /sbin/dump/itime.c | |
parent | 819a1420800a21ed5a99c96dd27e806dd971e041 (diff) | |
download | src-170ac683f26f1d05a019b0623b51b4b8f4576ada.tar.gz src-170ac683f26f1d05a019b0623b51b4b8f4576ada.zip |
I've been meaning to do this for a while. Add an underscore to the
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
Notes
Notes:
svn path=/head/; revision=89572
Diffstat (limited to 'sbin/dump/itime.c')
-rw-r--r-- | sbin/dump/itime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c index 3b622b2374ed..dda11fae5a74 100644 --- a/sbin/dump/itime.c +++ b/sbin/dump/itime.c @@ -155,9 +155,9 @@ getdumptime() continue; if (ddp->dd_level >= level) continue; - if (ddp->dd_ddate <= time32_to_time(spcl.c_ddate)) + if (ddp->dd_ddate <= _time32_to_time(spcl.c_ddate)) continue; - spcl.c_ddate = time_to_time32(ddp->dd_ddate); + spcl.c_ddate = _time_to_time32(ddp->dd_ddate); lastlevel = ddp->dd_level; } } @@ -205,7 +205,7 @@ putdumptime() found: (void) strncpy(dtwalk->dd_name, fname, sizeof (dtwalk->dd_name)); dtwalk->dd_level = level; - dtwalk->dd_ddate = time32_to_time(spcl.c_date); + dtwalk->dd_ddate = _time32_to_time(spcl.c_date); ITITERATE(i, dtwalk) { dumprecout(df, dtwalk); @@ -218,7 +218,7 @@ putdumptime() if (spcl.c_date == 0) { tmsg = "the epoch\n"; } else { - time_t t = time32_to_time(spcl.c_date); + time_t t = _time32_to_time(spcl.c_date); tmsg = ctime(&t); } msg("level %c dump on %s", level, tmsg); |