summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-13 00:05:11 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-13 00:05:11 +0800
commitef057a26d72d1ad6d0e43dd46749eb4748fcbefd (patch)
tree417c84c8645a2952ffcdf0efb75f0521a2b6fc45 /include
parent91f340fbe073394db064cb97a88ccc95717d052a (diff)
downloadpttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.gz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.bz2
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.lz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.xz
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.tar.zst
pttbbs-ef057a26d72d1ad6d0e43dd46749eb4748fcbefd.zip
avoid C++ keywords to make include files C++ friendly.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h4
-rw-r--r--include/pttstruct.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h
index 6faa25de..fb26c5c4 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -230,7 +230,7 @@ fav_t *get_current_fav(void);
int get_item_type(fav_type_t *ft);
char *get_item_title(fav_type_t *ft);
char *get_folder_title(int fid);
-void set_attr(fav_type_t *ft, int bit, char bool);
+void set_attr(fav_type_t *ft, int bit, char boolean);
void fav_sort_by_name(void);
void fav_sort_by_class(void);
int fav_load(void);
@@ -243,7 +243,7 @@ char getbrdattr(short bid);
time4_t getbrdtime(short bid);
void setbrdtime(short bid, time4_t t);
int fav_getid(fav_type_t *ft);
-void fav_tag(short id, char type, char bool);
+void fav_tag(short id, char type, char boolean);
void move_in_current_folder(int from, int to);
void fav_move(int from, int to);
fav_type_t *fav_add_line(void);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 575dd76d..8b6d6c97 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -367,7 +367,7 @@ typedef struct userinfo_t {
int friendtotal; /* 好友比較的cache 大小 */
short nFriends; /* 下面 friend[] 只用到前幾個,
用來 bsearch */
- int friend[MAX_FRIEND];
+ int myfriend[MAX_FRIEND];
char gap_1[4];
int friend_online[MAX_FRIEND];/* point到線上好友 utmpshm的位置 */
/* 好友比較的cache 前兩個bit是狀態 */