From dea6f126fe167ed6f452bd0616de7e6bdc24369d Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 22 Jun 2003 04:32:38 +0000 Subject: move COMPILE_TIME from .mk to vers.c git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mbbsd/cal.c') diff --git a/mbbsd/cal.c b/mbbsd/cal.c index bae8ca71..1567f0c2 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -1,4 +1,4 @@ -/* $Id: cal.c,v 1.26 2003/04/28 01:19:40 in2 Exp $ */ +/* $Id: cal.c,v 1.27 2003/06/22 04:32:38 in2 Exp $ */ #include "bbs.h" /* ¨¾°ô Multi play */ @@ -415,6 +415,7 @@ p_sysinfo(void) { char buf[128], *cpuloadstr; int load; + extern char *compile_time; load = cpuload(buf); cpuloadstr = (load < 5 ? "¨}¦n" : (load < 20 ? "©|¥i" : "¹L­«")); @@ -433,7 +434,7 @@ p_sysinfo(void) #else MAX_ACTIVE, #endif - COMPILE_TIME, ctime(&start_time)); + compile_time, ctime(&start_time)); if (HAS_PERM(PERM_SYSOP)) { struct rusage ru; getrusage(RUSAGE_SELF, &ru); -- cgit v1.2.3