summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-17 12:23:59 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-17 12:23:59 +0800
commit2d6dc07feca4e5e3dc8333f514197573dfaefda0 (patch)
treee413be0ee267f02018dc5682218bac8b33ac1a60 /include
parentfc9427e3fae4455ac9818ff9127c01f325b86497 (diff)
downloadpttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar.gz
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar.bz2
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar.lz
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar.xz
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.tar.zst
pttbbs-2d6dc07feca4e5e3dc8333f514197573dfaefda0.zip
Clean up header dependencies
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/cmbbs.h5
-rw-r--r--include/pttstruct.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/include/cmbbs.h b/include/cmbbs.h
index 72367a1d..52a5709e 100644
--- a/include/cmbbs.h
+++ b/include/cmbbs.h
@@ -1,11 +1,6 @@
#ifndef _LIBBBS_H_
#define _LIBBBS_H_
-#include "config.h"
-#include "common.h"
-#include "cmsys.h"
-#include "pttstruct.h"
-
/* name.c */
extern int is_validuserid(const char *id);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 1f4c311d..1743f5bd 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -2,6 +2,8 @@
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
+#include "cmsys.h" // for time4_t
+#include "config.h" // various sizes in SHM
#include "statistic.h" // for MAX_STATS
#define IDLEN 12 /* Length of bid/uid */