From 0d0998b6ace327e445c691088d8d4dca105cec4f Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 17 Dec 2004 06:08:05 +0000 Subject: cdoc finished comments for brc.c, fav.c do not allow a board to be added twice in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/fav.h | 9 +++++---- include/proto.h | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/fav.h b/include/fav.h index ed09762f..2604aae6 100644 --- a/include/fav.h +++ b/include/fav.h @@ -7,11 +7,12 @@ #define FAVH_TAG 2 #define FAVH_UNREAD 4 #define FAVH_ADM_TAG 8 -/* 站長用 t 來管理 (eg.搬移) 看板時 舊的作法是把這些 tag 起來的看板 - * 記錄在 fav 裡面。為了不再多花其他記憶體,這邊繼續沿用。*/ +/* t Ӻ޲z (eg.h) ݪO ª@kOo tag _ӪݪO + * Ob fav ̭CFAhLOAo~uΡC*/ -#define TRUE 1 -#define FALSE 0 +#define FALSE 0 +#define TRUE 1 +#define EXCH 2 #define FAV_PRE_ALLOC 8 #define FAV_MAXDEPTH 5 diff --git a/include/proto.h b/include/proto.h index 83f797c5..cd2afbb8 100644 --- a/include/proto.h +++ b/include/proto.h @@ -236,7 +236,6 @@ int fav_v3_to_v4(void); int is_set_attr(fav_type_t *ft, char bit); void fav_cleanup(void); void fav_clean_invisible(void); -char current_fav_at_root(void); fav_t *get_fav_folder(fav_type_t *ft); fav_t *get_fav_root(void); void updatenewfav(int mode); -- cgit v1.2.3