summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-07 11:55:17 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-07 11:55:17 +0800
commitdd35f0348fc7004b3d9ed44e399e19664dcc7646 (patch)
tree3a254e96c2702f375ace4297f219c020c24d126b
parentd8d0653cbe6363771c22fcfeaad5625a4227bae0 (diff)
downloadpttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar.gz
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar.bz2
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar.lz
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar.xz
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.tar.zst
pttbbs-dd35f0348fc7004b3d9ed44e399e19664dcc7646.zip
add GV2(globalvar2) structure into gap3[]
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/pttstruct.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index dc457e75..5ea7e799 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.31 2003/03/26 11:06:04 in2 Exp $ */
+/* $Id: pttstruct.h,v 1.32 2003/04/07 03:55:17 in2 Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -349,7 +349,15 @@ typedef struct {
int GLOBALVAR[10]; /* mbbsd間的 global variable
用以做統計等資料 (非常態) */
- char gap3[1024]; /* avoid some memory error / buffer overflow */
+ char gap3_1[128]; /* gap3 1024 bytes */
+ union {
+ int v[192];
+ struct {
+ int dyactive;
+ } e;
+ } GV2;
+ char gap3_2[128];
+
/* fromcache */
char domain[MAX_FROM][50];
char replace[MAX_FROM][50];