summaryrefslogtreecommitdiffstats
path: root/mbbsd/args.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/args.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/args.c')
-rw-r--r--mbbsd/args.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/args.c b/mbbsd/args.c
index 4d1d6ceb..9f937723 100644
--- a/mbbsd/args.c
+++ b/mbbsd/args.c
@@ -1,4 +1,5 @@
-/* $Id: args.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: args.c,v 1.2 2002/06/04 13:08:33 in2 Exp $ */
+#include "bbs.h"
#ifdef HAVE_SETPROCTITLE
void initsetproctitle(int argc, char **argv, char **envp) {
@@ -6,10 +7,6 @@ void initsetproctitle(int argc, char **argv, char **envp) {
#else
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
char **Argv = NULL; /* pointer to argument vector */
char *LastArgv = NULL; /* end of argv */