diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-06 14:15:51 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-06 14:15:51 +0800 |
commit | f09df194f3aab8107b55918f87eabdcbbff0763c (patch) | |
tree | b21bf0685f9436071c12c89fe2b6cc6db65c57cd /include | |
parent | ab5d43c74a4ae38c36435f922ed01f076c44d927 (diff) | |
download | pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar.gz pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar.bz2 pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar.lz pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar.xz pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.tar.zst pttbbs-f09df194f3aab8107b55918f87eabdcbbff0763c.zip |
* Fix the bug that sometime after reading old articles, the newer one will be
set unread.
* Remove global variablt brc_name from bourd.c.
* Change prototypes of brc_unread, brc_initial, and brc_addlist. Add const
modifier.
* Add commants in brc_* funtions.
by scw
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/proto.h b/include/proto.h index ee59329d..5e902289 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.46 2003/07/20 00:55:34 in2 Exp $ */ +/* $Id$ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -63,8 +63,8 @@ int board_digest(); /* board */ #define setutmpbid(bid) currutmp->brc_id=bid; -int brc_unread(char *fname, int bnum, int *blist); -int brc_initial(char *boardname); +int brc_unread(const char *fname, int bnum, const int *blist); +int brc_initial(const char *boardname); void brc_update(); int Ben_Perm(boardheader_t *bptr); int New(); @@ -92,7 +92,7 @@ boardheader_t *getbcache(int bid); int apply_boards(int (*func)(boardheader_t *)); int haspostperm(char *bname); void inbtotal(int bid, int add); -void brc_addlist(char *fname); +void brc_addlist(const char *fname); void setbtotal(int bid); unsigned int safe_sleep(unsigned int seconds); int apply_ulist(int (*fptr)(userinfo_t *)); |