aboutsummaryrefslogtreecommitdiff
path: root/lib/nwos.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-07-26 17:23:27 +0200
committerYang Tse <yangsita@gmail.com>2011-07-26 17:23:27 +0200
commitf1586cb4775681810afd8e6626e7842d459f3b85 (patch)
tree88590b6cd73744ed6c7ffe78a8ccafe3dfb1b90a /lib/nwos.c
parent983f3d70f9610a35f279b656a3322087e272f2a6 (diff)
stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
Diffstat (limited to 'lib/nwos.c')
-rw-r--r--lib/nwos.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/nwos.c b/lib/nwos.c
index ac365124f..bd695b3f9 100644
--- a/lib/nwos.c
+++ b/lib/nwos.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,9 +20,9 @@
*
***************************************************************************/
-#ifdef NETWARE /* Novell NetWare */
+#include "setup.h"
-#include <stdlib.h>
+#ifdef NETWARE /* Novell NetWare */
#ifdef __NOVELL_LIBC__
/* For native LibC-based NLM we need to do nothing. */
@@ -34,7 +34,6 @@ int netware_init ( void )
#else /* __NOVELL_LIBC__ */
/* For native CLib-based NLM we need to initialize the LONG namespace. */
-#include <stdio.h>
#include <nwnspace.h>
#include <nwthread.h>
#include <nwadv.h>
@@ -86,10 +85,4 @@ int __deinit_environment ( void )
#endif /* __NOVELL_LIBC__ */
-#else /* NETWARE */
-
-#ifdef __POCC__
-# pragma warn(disable:2024) /* Disable warning #2024: Empty input file */
-#endif
-
#endif /* NETWARE */