summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:08:35 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:08:35 +0800
commit9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch)
treea558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/name.c
parente42291049072cfee02408394850b33b3580dbd83 (diff)
downloadpttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.gz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.bz2
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.lz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.xz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.zst
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.zip
global variable move to var.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r--mbbsd/name.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index 192ead3d..b78b54d1 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -1,24 +1,6 @@
-/* $Id: name.c,v 1.6 2002/05/24 16:45:39 in2 Exp $ */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <signal.h>
-#include <sys/types.h>
-#include "config.h"
-#include "pttstruct.h"
-#include "common.h"
-#include "proto.h"
-#include "perm.h"
-
-extern struct bcache_t *brdshm;
-extern struct utmpfile_t *utmpshm;
-extern userec_t cuser;
-extern char *str_space;
-extern int p_lines; /* a Page of Screen line numbers: tlines-4 */
-extern int b_lines; /* Screen bottom line number: t_lines-1 */
-
-word_t *toplev = NULL;
+/* $Id: name.c,v 1.7 2002/06/04 13:08:34 in2 Exp $ */
+#include "bbs.h"
+
static word_t *current = NULL;
static char *msg_more = "\033[7m-- More --\033[m";