summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-08-14 01:04:29 +0800
committerrobertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-08-14 01:04:29 +0800
commit1ecea914f8c0aa7aa72454546059b7bac5e6a272 (patch)
treeeaef47c33201d7bde30dbce876837e816c94d06b
parent4e9b66b9402b2d2e6f026c649a7b4d879fd8fb03 (diff)
downloadpttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar.gz
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar.bz2
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar.lz
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar.xz
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.tar.zst
pttbbs-1ecea914f8c0aa7aa72454546059b7bac5e6a272.zip
Fix build breakage when not using commentd.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@6067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/comments.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/comments.c b/pttbbs/mbbsd/comments.c
index 726339c3..e6b28714 100644
--- a/pttbbs/mbbsd/comments.c
+++ b/pttbbs/mbbsd/comments.c
@@ -266,10 +266,10 @@ int CommentsDeleteFromTextFile(void *ctx, int i, const char *reason)
}
return 0;
}
-#endif
const struct CommentKeyReq *CommentsGetKeyReq(void *ctx)
{
CommentsCtx *c = (CommentsCtx *)ctx;
return &c->key;
}
+#endif