diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 02:24:52 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 02:24:52 +0800 |
commit | 073ef8262dc0b335ffa809843b5cebcc95558d40 (patch) | |
tree | b948a5584977b1e63954f3549e4419ce3b46a8a6 /util | |
parent | 1461897e382c0ae3094a9be99e6b5ce75c9fa118 (diff) | |
download | pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar.gz pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar.bz2 pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar.lz pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar.xz pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.tar.zst pttbbs-073ef8262dc0b335ffa809843b5cebcc95558d40.zip |
use bbs.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/bbsctl.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/util/bbsctl.c b/util/bbsctl.c index 31ab69bf..b829818f 100644 --- a/util/bbsctl.c +++ b/util/bbsctl.c @@ -1,16 +1,5 @@ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <string.h> -#include <signal.h> -#include <sys/types.h> -#include <dirent.h> -#include <grp.h> -#include <fcntl.h> -#include <ctype.h> -#include "config.h" -#include "pttstruct.h" -#include "perm.h" +/* $Id$ */ +#include "bbs.h" #ifdef __FreeBSD__ #include <sys/syslimits.h> @@ -23,6 +12,8 @@ #endif #ifdef __linux__ #include <linux/limits.h> + #include <sys/types.h> + #include <grp.h> #define SU "/bin/su" #define CP "/bin/cp" #define KILLALL "/usr/bin/killall" |