diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:27 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:27 +0800 |
commit | 7a21e08eca7c72e08fb2a5294b192ebf59a0565a (patch) | |
tree | 8e95a68d5495b14e2695916bc8e2e2afc07632f4 /include | |
parent | a06ea9d2a57526434090ac255aa46cddd1c3ed52 (diff) | |
download | pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar.gz pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar.bz2 pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar.lz pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar.xz pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.tar.zst pttbbs-7a21e08eca7c72e08fb2a5294b192ebf59a0565a.zip |
move global variable to local, save another 536 bytes
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h index 78acebbc..76a24cac 100644 --- a/include/proto.h +++ b/include/proto.h @@ -491,7 +491,7 @@ int safe_article_delete_range(char *direct, int from, int to); #endif int delete_file(char *dirname, int size, int ent, int (*filecheck)()); int delete_range(char *fpath, int id1, int id2); -int apply_record(char *fpath, int (*fptr)(), int size); +int apply_record(char *fpath, int (*fptr)(void*,void*), int size,void *arg); int search_rec(char* dirname, int (*filecheck)()); int append_record_forward(char *fpath, fileheader_t *record, int size); int get_sum_records(char* fpath, int size); |