From a0dc0d66b864c10fe6e1520e3869cd0c451fa32f Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 8 Apr 2004 02:46:28 +0000 Subject: merge dir git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/Makefile | 2 +- util/merge_dir.c | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/util/Makefile b/util/Makefile index 99461ffe..d64bd60b 100644 --- a/util/Makefile +++ b/util/Makefile @@ -38,7 +38,7 @@ PROGS= ${UTIL_OBJS} ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} \ stock.perl weather.perl toplazyBM.sh toplazyBBM.sh \ dailybackup.pl tarqueue.pl waterball.pl filtermail.pl \ getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl\ - checkdir + checkdir merge_dir all: ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${PROGS} diff --git a/util/merge_dir.c b/util/merge_dir.c index e81a9f7e..44fcd1f2 100644 --- a/util/merge_dir.c +++ b/util/merge_dir.c @@ -1,11 +1,6 @@ -/* $Id: merge_board.c 1096 2003-08-15 06:13:29Z victor $ */ -#include -#include -#include -#include -#include -#include "config.h" -#include "pttstruct.h" +/* $Id: merge_dir.c 1096 2003-08-15 06:13:29Z victor $ */ +#define _UTIL_C_ +#include "bbs.h" void usage() { fprintf(stderr, "Usage:\n\n" -- cgit v1.2.3