summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-24 01:35:17 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-24 01:35:17 +0800
commit28c43319e7e19c98eb0048e41082cad636cc68bd (patch)
tree7ebd9ac9c072dfdf6ff127844a8224040c7ad568 /include/proto.h
parent92036d5ff8ddca4f20146c3b229f86ef4504d77a (diff)
downloadpttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar.gz
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar.bz2
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar.lz
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar.xz
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.tar.zst
pttbbs-28c43319e7e19c98eb0048e41082cad636cc68bd.zip
- revise passwd_apply() api, prevent use global variable to pass data.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index c46c9791..6dc763ec 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -822,7 +822,7 @@ int RcyRecycleBin(void);
int passwd_init(void);
int passwd_update(int num, userec_t *buf);
int passwd_query(int num, userec_t *buf);
-int passwd_apply(int (*fptr)(int, userec_t *));
+int passwd_apply(void *data, int (*fptr)(void *, int, userec_t *));
void passwd_lock(void);
void passwd_unlock(void);
int passwd_update_money(int num);