apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1078658 - in /apr/apr/trunk/threadproc/netware: proc.c signals.c
Date Mon, 07 Mar 2011 03:14:30 GMT
Author: fuankg
Date: Mon Mar  7 03:14:29 2011
New Revision: 1078658

URL: http://svn.apache.org/viewvc?rev=1078658&view=rev
Log:
Fixed NetWare prototype warnings.

Modified:
    apr/apr/trunk/threadproc/netware/proc.c
    apr/apr/trunk/threadproc/netware/signals.c

Modified: apr/apr/trunk/threadproc/netware/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/netware/proc.c?rev=1078658&r1=1078657&r2=1078658&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/netware/proc.c (original)
+++ apr/apr/trunk/threadproc/netware/proc.c Mon Mar  7 03:14:29 2011
@@ -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;

Modified: apr/apr/trunk/threadproc/netware/signals.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/netware/signals.c?rev=1078658&r1=1078657&r2=1078658&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/netware/signals.c (original)
+++ apr/apr/trunk/threadproc/netware/signals.c Mon Mar  7 03:14:29 2011
@@ -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 *si
     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)
 {



Mime
View raw message