summaryrefslogtreecommitdiffstats
path: root/util/yearsold.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/yearsold.c')
-rw-r--r--util/yearsold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/yearsold.c b/util/yearsold.c
index f93134a6..b4b0d176 100644
--- a/util/yearsold.c
+++ b/util/yearsold.c
@@ -3,7 +3,7 @@
#define _UTIL_C_
#include "bbs.h"
-#define MAX_LINE 16
+#define YEARSOLD_MAX_LINE 16
struct userec_t cuser;
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
}
}
- item = max / MAX_LINE + 1;
+ item = max / YEARSOLD_MAX_LINE + 1;
if ((fp = fopen(BBSHOME"/etc/yearsold", "w")) == NULL)
{
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
fprintf(fp, "\t\t\t  " BBSNAME
" ¦~Äֲέp [%02d/%02d/%02d] \n\n",
ptime->tm_year % 100, ptime->tm_mon + 1, ptime->tm_mday);
- for (i = MAX_LINE + 1; i > 0; i--)
+ for (i = YEARSOLD_MAX_LINE + 1; i > 0; i--)
{
strcpy(buf, " ");
for (j = 0; j < 24; j++)