summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2011-03-07 03:14:29 +0000
committerfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2011-03-07 03:14:29 +0000
commit16bec58789b209dc0b81540904d53e3c7d7d2b5c (patch)
tree2c3eddb6ae4436917c3e7a6e5a1a59bf0adc9bc0 /threadproc
parent66aa10547dd864a1c96d1959026034a4c9893ed4 (diff)
downloadlibapr-16bec58789b209dc0b81540904d53e3c7d7d2b5c.tar.gz
Fixed NetWare prototype warnings.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078658 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/netware/proc.c2
-rw-r--r--threadproc/netware/signals.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c
index 5ea9fe060..f5d24b21b 100644
--- a/threadproc/netware/proc.c
+++ b/threadproc/netware/proc.c
@@ -26,7 +26,7 @@
*/
static apr_file_t no_file = { NULL, -1, };
-apr_status_t apr_netware_proc_cleanup(void *theproc)
+static apr_status_t apr_netware_proc_cleanup(void *theproc)
{
apr_proc_t *proc = theproc;
int exit_int;
diff --git a/threadproc/netware/signals.c b/threadproc/netware/signals.c
index bc660af7d..c744da5c5 100644
--- a/threadproc/netware/signals.c
+++ b/threadproc/netware/signals.c
@@ -15,7 +15,6 @@
*/
#include "apr_arch_threadproc.h"
-#include <nks/thread.h>
#include "apr_private.h"
#include "apr_pools.h"
#include "apr_signal.h"
@@ -64,12 +63,12 @@ static void *signal_thread_func(void *signal_handler)
return NULL;
}
+#if (APR_HAVE_SIGWAIT || APR_HAVE_SIGSUSPEND)
APR_DECLARE(apr_status_t) apr_setup_signal_thread(void)
{
- int rv = 0;
-
- return rv;
+ return 0;
}
+#endif /* (APR_HAVE_SIGWAIT || APR_HAVE_SIGSUSPEND) */
APR_DECLARE(apr_status_t) apr_signal_block(int signum)
{