summaryrefslogtreecommitdiffstats
path: root/mbbsd/passwd.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-21 17:26:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-21 17:26:02 +0800
commite9a7b75babb76e1a3341161bcb6e80f3753b83c7 (patch)
tree04debdc816cd5405bba70904a1eea16ca6fca663 /mbbsd/passwd.c
parent1428a82d1644166fdaa5285c67f236ac02687818 (diff)
downloadpttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.gz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.bz2
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.lz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.xz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.zst
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.zip
indent -i4
fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r--mbbsd/passwd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 9c129dc0..a9b32f0c 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -1,4 +1,4 @@
-/* $Id: passwd.c,v 1.7 2002/07/05 17:10:28 in2 Exp $ */
+/* $Id: passwd.c,v 1.8 2002/07/21 09:26:02 in2 Exp $ */
#include "bbs.h"
static int semid = -1;
@@ -20,7 +20,7 @@ union semun {
};
#endif
-int
+int
passwd_init()
{
semid = semget(PASSWDSEM_KEY, 1, SEM_R | SEM_A | IPC_CREAT | IPC_EXCL);
@@ -48,7 +48,7 @@ passwd_init()
return 0;
}
-int
+int
passwd_update_money(int num)
{
userec_t user;
@@ -61,7 +61,7 @@ passwd_update_money(int num)
return 0;
}
-int
+int
passwd_update(int num, userec_t * buf)
{
int pwdfd;
@@ -76,7 +76,7 @@ passwd_update(int num, userec_t * buf)
return 0;
}
-int
+int
passwd_query(int num, userec_t * buf)
{
int pwdfd;
@@ -90,7 +90,7 @@ passwd_query(int num, userec_t * buf)
return 0;
}
-int
+int
passwd_apply(int (*fptr) (userec_t *))
{
int i;
@@ -103,7 +103,7 @@ passwd_apply(int (*fptr) (userec_t *))
return 0;
}
-void
+void
passwd_lock()
{
struct sembuf buf = {0, -1, SEM_UNDO};
@@ -114,7 +114,7 @@ passwd_lock()
}
}
-void
+void
passwd_unlock()
{
struct sembuf buf = {0, 1, SEM_UNDO};