summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-05 12:41:35 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-05 12:41:35 +0800
commitb1bff943406c687957502983b94b257653451485 (patch)
treedb2decb23920f056f89e8bc7a6065ba50078e32c
parenteb80beb9396a32ba29e0f239a4a5ce095dbe4a12 (diff)
downloadpttbbs-b1bff943406c687957502983b94b257653451485.tar
pttbbs-b1bff943406c687957502983b94b257653451485.tar.gz
pttbbs-b1bff943406c687957502983b94b257653451485.tar.bz2
pttbbs-b1bff943406c687957502983b94b257653451485.tar.lz
pttbbs-b1bff943406c687957502983b94b257653451485.tar.xz
pttbbs-b1bff943406c687957502983b94b257653451485.tar.zst
pttbbs-b1bff943406c687957502983b94b257653451485.zip
Remove unused constant.
Prepared to merge. git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.brc2@1694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/config.h3
-rw-r--r--mbbsd/brc.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 8c0e4ba0..a08bc4f7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -214,9 +214,8 @@
#define ALLPOST "ALLPOST"
#define MAXTAGS 256
-#define BRC_STRLEN 15 /* Length of board name */
+#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
-#define BRC_ITEMSIZE ((BRC_MAXNUM + 2) * sizeof( int ))
#define BRC_MAXNUM 80
#define WRAPMARGIN (511)
diff --git a/mbbsd/brc.c b/mbbsd/brc.c
index 71a59ff7..9237c24f 100644
--- a/mbbsd/brc.c
+++ b/mbbsd/brc.c
@@ -1,10 +1,8 @@
#include "bbs.h"
#ifndef BRC_MAXNUM
-#define BRC_STRLEN 15 /* Length of board name */
+#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576 /* Effective size of brc rc file, 8192 * 3 */
-#define BRC_ITEMSIZE ((BRC_MAXNUM + 2) * sizeof( int ))
- /* Maximum size of each record */
#define BRC_MAXNUM 80 /* Upper bound of brc_num, size of brc_list */
#endif