diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 03:34:30 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 03:34:30 +0800 |
commit | 6458d8379fc2bf2262ecc55f753aab70ea8a0ac4 (patch) | |
tree | 7539b5c2129abbcbdd1238c4f1df0a586538129a /mbbsd/chicken.c | |
parent | eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3 (diff) | |
download | pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.gz pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.bz2 pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.lz pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.xz pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.zst pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.zip |
remove prototypes of not exist functions
use static keyword for local function
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chicken.c')
-rw-r--r-- | mbbsd/chicken.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c index c95bc423..17d6dad6 100644 --- a/mbbsd/chicken.c +++ b/mbbsd/chicken.c @@ -157,24 +157,6 @@ new_chicken() return 1; } -int -show_file(char *filename, int y, int lines, int mode) -{ - FILE *fp; - char buf[256]; - - if (y >= 0) - move(y, 0); - clrtoline(lines + y); - if ((fp = fopen(filename, "r"))) { - while (fgets(buf, sizeof(buf), fp) && lines--) - outs(Ptt_prints(buf, mode)); - fclose(fp); - } else - return 0; - return 1; -} - static void show_chicken_stat(chicken_t * thechicken) { |