summaryrefslogtreecommitdiffstats
path: root/mbbsd/topsong.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/topsong.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/topsong.c')
-rw-r--r--mbbsd/topsong.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c
index 277ef85f..a745b4a5 100644
--- a/mbbsd/topsong.c
+++ b/mbbsd/topsong.c
@@ -1,4 +1,4 @@
-/* $Id: topsong.c,v 1.4 2002/07/21 08:18:42 in2 Exp $ */
+/* $Id: topsong.c,v 1.5 2002/07/21 09:26:02 in2 Exp $ */
#include "bbs.h"
#define MAX_SONGS 300
@@ -12,20 +12,20 @@ typedef struct songcmp_t {
static long int totalcount = 0;
-static int
+static int
count_cmp(songcmp_t * b, songcmp_t * a)
{
return (a->count - b->count);
}
-int
+int
topsong()
{
more(FN_TOPSONG, YEA);
return 0;
}
-static int
+static int
strip_blank(char *cbuf, char *buf)
{
for (; *buf; buf++)
@@ -35,7 +35,7 @@ strip_blank(char *cbuf, char *buf)
return 0;
}
-void
+void
sortsong()
{
FILE *fo, *fp = fopen(BBSHOME "/" FN_USSONG, "r");