aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ac/ac.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-01-19 23:20:02 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-01-19 23:20:02 +0000
commit170ac683f26f1d05a019b0623b51b4b8f4576ada (patch)
tree262f00c422f3272c4031c870d746ed14c2f757d5 /usr.sbin/ac/ac.c
parent819a1420800a21ed5a99c96dd27e806dd971e041 (diff)
downloadsrc-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 'usr.sbin/ac/ac.c')
-rw-r--r--usr.sbin/ac/ac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index 1543568bd7ce..e4dab9d2c927 100644
--- a/usr.sbin/ac/ac.c
+++ b/usr.sbin/ac/ac.c
@@ -473,7 +473,7 @@ ac(fp)
if (!FirstTime)
FirstTime = usr.ut_time;
if (Flags & AC_D) {
- time_t t = int_to_time(usr.ut_time);
+ time_t t = _int_to_time(usr.ut_time);
ltm = localtime(&t);
if (day >= 0 && day != ltm->tm_yday) {
day = ltm->tm_yday;
@@ -525,7 +525,7 @@ ac(fp)
(void)strcpy(usr.ut_line, "~");
if (Flags & AC_D) {
- time_t t = int_to_time(usr.ut_time);
+ time_t t = _int_to_time(usr.ut_time);
ltm = localtime(&t);
if (day >= 0 && day != ltm->tm_yday) {
/*