diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-20 12:16:10 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-20 12:16:10 +0800 |
commit | dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d (patch) | |
tree | 75946d34df72df6412cd4e32318c5ac63a9a89f2 | |
parent | d113f8eb2c067aedc8832ef7815b13d88620489c (diff) | |
download | pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar.gz pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar.bz2 pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar.lz pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar.xz pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.tar.zst pttbbs-dedfe0934267ad58d0aba04cfdc5df4ff28b2d7d.zip |
fix compile error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | innbbsd/dbz.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/innbbsd/dbz.c b/innbbsd/dbz.c index bc6d5b76..9b031678 100644 --- a/innbbsd/dbz.c +++ b/innbbsd/dbz.c @@ -1348,6 +1348,9 @@ getcore(f) madvise(it, (size_t) conf.tsize * SOF, MADV_RANDOM); #endif #else + register of_t *p; + register size_t i; + register size_t nread; it = malloc((size_t) conf.tsize * SOF); if (it == NULL) { DEBUG(("getcore: malloc failed\n")); |