summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
commit90eb3c77f058ddad2e6d369b8aab5232f685c100 (patch)
tree23b6677da96436058b5f6b538b03ac3bfcc6fd99 /include/proto.h
parente198264c33367686003b30ae2399df6f286978bf (diff)
downloadpttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.gz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.bz2
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.lz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.xz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.zst
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.zip
- (internal) vedit should not change input parameter.
- (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index ade34488..8fdee450 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -225,8 +225,8 @@ int main_dark(int fd,userinfo_t *uin);
int dice_main(void);
/* edit */
-int vedit(char *fpath, int saveheader, int *islocal);
-int vedit2(char *fpath, int saveheader, int *islocal, int flags);
+int vedit(const char *fpath, int saveheader, int *islocal);
+int vedit2(const char *fpath, int saveheader, int *islocal, int flags);
void write_header(FILE *fp, char *mytitle);
void addsignature(FILE *fp, int ifuseanony);
void auto_backup(void);