summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-14 09:58:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-14 09:58:13 +0800
commit31b9bab65b95c6ccabff24b90fa80dc3a8344122 (patch)
tree33a64e8cd2c1f253a690ce88fad87d255c83aff7 /include
parent833d86de55341c2790a09d6770af1458d54fb0a6 (diff)
downloadpttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar.gz
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar.bz2
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar.lz
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar.xz
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.tar.zst
pttbbs-31b9bab65b95c6ccabff24b90fa80dc3a8344122.zip
* enable size tag in shm
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index e9453f5a..6b76a965 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -482,13 +482,12 @@ typedef struct keeploc_t {
// TODO
// 哪天請好心人整理 shm:
-// (1) 增加 shmsize
// (2) userinfo_t 可以移掉一些已不用的
-#define SHM_VERSION 3276
+#define SHM_VERSION 4842
typedef struct {
- int version;
- // int shmsize; // TODO add this: sizeof(SHM_t), for verification
+ int version; // SHM_VERSION for verification
+ int size; // sizeof(SHM_t) for verification
/* uhash */
/* uhash is a userid->uid hash table -- jochang */