From 7a21e08eca7c72e08fb2a5294b192ebf59a0565a Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 12 Mar 2005 03:23:27 +0000 Subject: 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 --- include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3