diff options
Diffstat (limited to 'common/bbs/cache.c')
-rw-r--r-- | common/bbs/cache.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/common/bbs/cache.c b/common/bbs/cache.c index b61dec86..1166a85b 100644 --- a/common/bbs/cache.c +++ b/common/bbs/cache.c @@ -19,11 +19,6 @@ #include "modes.h" // for DEBUGSLEEPING -// TODO some APIs currently in util_passwd.o and should be moved to -// common/bbs/passwd.c... -int passwd_query(int num, userec_t *buf); -int passwd_update_money(int num); - ////////////////////////////////////////////////////////////////////////// // This is shared by utility library and core BBS, // so do not put code using currutmp/cuser here. @@ -215,19 +210,6 @@ searchuser(const char *userid, char *rightid) return dosearchuser(userid, rightid); } -// XXX check this: can we have it here? -int -getuser(const char *userid, userec_t *xuser) -{ - int uid; - - if ((uid = searchuser(userid, NULL))) { - passwd_query(uid, xuser); - xuser->money = moneyof(uid); - } - return uid; -} - char * getuserid(int num) { |