summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 09:33:56 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 09:33:56 +0800
commitf51f81cd5d73c514205752d736af5c006f3771e5 (patch)
treec0e21eefcba41ea4e081c6dc68ffd11bf3164a5b /include
parent16cbbae762ff2c52b073e618bd2a1a64521b560d (diff)
downloadpttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar.gz
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar.bz2
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar.lz
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar.xz
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.tar.zst
pttbbs-f51f81cd5d73c514205752d736af5c006f3771e5.zip
- (internal) export osdep from cmsys, fixing bbsctl linking error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/cmsys.h6
-rw-r--r--include/proto.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/cmsys.h b/include/cmsys.h
index 3f051d09..934ccd9d 100644
--- a/include/cmsys.h
+++ b/include/cmsys.h
@@ -76,6 +76,12 @@ extern int toconnect(const char *addr);
extern int toread(int fd, void *buf, int len);
extern int towrite(int fd, const void *buf, int len);
+/* osdep */
+extern int cpuload(char *str);
+extern void initsetproctitle(int argc, char **argv, char **envp);
+extern void setproctitle(const char* format, ...) GCC_CHECK_FORMAT(1,2);
+
+
/* sort.c */
extern int cmp_int(const void *a, const void *b);
extern int cmp_int_desc(const void * a, const void * b);
diff --git a/include/proto.h b/include/proto.h
index 91b8ddd2..37fbf0e1 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -474,12 +474,6 @@ char *completeutmp_getname(int where);
&completeutmp_compar, &completeutmp_permission, \
&completeutmp_getname)
-/* osdep */
-int cpuload(char *str);
-void initsetproctitle(int argc, char **argv, char **envp);
-void setproctitle(const char* format, ...) GCC_CHECK_FORMAT(1,2);
-
-
/* othello */
int othello_main(void);