diff options
-rw-r--r-- | mbbsd/topsong.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c index 906dadbf..3ea60dbf 100644 --- a/mbbsd/topsong.c +++ b/mbbsd/topsong.c @@ -10,7 +10,6 @@ typedef struct songcmp_t { int count; } songcmp_t; -static int totalcount = 0; static int count_cmp(songcmp_t * b, songcmp_t * a) @@ -33,6 +32,7 @@ sortsong(void) songcmp_t songs[MAX_SONGS + 1]; int n; char buf[256], cbuf[256]; + int totalcount = 0; memset(songs, 0, sizeof(songs)); if (!fp) |