summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.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/friend.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/friend.c')
-rw-r--r--mbbsd/friend.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index 2753282c..6029bfd8 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -1,4 +1,4 @@
-/* $Id: friend.c,v 1.10 2002/07/21 08:18:41 in2 Exp $ */
+/* $Id: friend.c,v 1.11 2002/07/21 09:26:02 in2 Exp $ */
#include "bbs.h"
/* ------------------------------------- */
@@ -47,7 +47,7 @@ static char *friend_list[8] = {
"看板好友名單"
};
-static void
+static void
setfriendfile(char *fpath, int type)
{
if (type <= 4) /* user list Ptt */
@@ -56,7 +56,7 @@ setfriendfile(char *fpath, int type)
setbfile(fpath, currboard, friend_file[type]);
}
-static int
+static int
friend_count(char *fname)
{
FILE *fp;
@@ -78,7 +78,7 @@ friend_count(char *fname)
return count;
}
-void
+void
friend_add(char *uident, int type)
{
char fpath[80];
@@ -107,7 +107,7 @@ friend_add(char *uident, int type)
}
}
-static void
+static void
friend_special()
{
char genbuf[70], i, fname[70];
@@ -138,7 +138,7 @@ friend_special()
}
}
-static void
+static void
friend_append(int type, int count)
{
char fpath[80], i, j, buf[80], sfile[80];
@@ -201,7 +201,7 @@ friend_append(int type, int count)
}
}
-void
+void
friend_delete(char *uident, int type)
{
FILE *fp, *nfp;
@@ -223,7 +223,7 @@ friend_delete(char *uident, int type)
}
}
-static void
+static void
friend_editdesc(char *uident, int type)
{
FILE *fp, *nfp;
@@ -248,7 +248,7 @@ friend_editdesc(char *uident, int type)
}
}
-void
+void
friend_load()
{
FILE *fp;
@@ -289,7 +289,7 @@ friend_load()
login_friend_online();
}
-static void
+static void
friend_water(char *message, int type)
{ /* 群體水球 added by Ptt */
char fpath[80], line[80], userid[IDLEN + 1];
@@ -310,7 +310,7 @@ friend_water(char *message, int type)
fclose(fp);
}
-void
+void
friend_edit(int type)
{
char fpath[80], line[80], uident[20];
@@ -444,14 +444,14 @@ friend_edit(int type)
}
}
-int
+int
t_override()
{
friend_edit(FRIEND_OVERRIDE);
return 0;
}
-int
+int
t_reject()
{
friend_edit(FRIEND_REJECT);