From b7bba29130f01b78922ff4d8f71fc93646a0dbdb Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 18 Jan 2008 09:47:36 +0000 Subject: - fix compile error (reported on watch@PttBug/ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/record.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mbbsd/record.c b/mbbsd/record.c index 17811fb8..65c139cd 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -627,6 +627,7 @@ append_record_forward(char *fpath, fileheader_t * record, int size, const char * return 0; } +#ifndef _BBS_UTIL_C_ void setaidfile(char *buf, const char *bn, aidu_t aidu) { @@ -662,3 +663,4 @@ setaidfile(char *buf, const char *bn, aidu_t aidu) } close(fd); } +#endif -- cgit v1.2.3