httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1090417 - /httpd/httpd/trunk/os/win32/os.h
Date Fri, 08 Apr 2011 19:57:25 GMT
Author: trawick
Date: Fri Apr  8 19:57:24 2011
New Revision: 1090417

URL: http://svn.apache.org/viewvc?rev=1090417&view=rev
Log:
include <stdlib.h> to ensure that the exit() prototype has been
seen before the exit macro is defined (fixes compile failure on
MinGW)

axe prototype for absent function set_listeners_noninheritable() 

Modified:
    httpd/httpd/trunk/os/win32/os.h

Modified: httpd/httpd/trunk/os/win32/os.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/os/win32/os.h?rev=1090417&r1=1090416&r2=1090417&view=diff
==============================================================================
--- httpd/httpd/trunk/os/win32/os.h (original)
+++ httpd/httpd/trunk/os/win32/os.h Fri Apr  8 19:57:24 2011
@@ -53,6 +53,7 @@
 #define CASE_BLIND_FILESYSTEM
 
 #include <stddef.h>
+#include <stdlib.h> /* for exit() */
 
 #ifdef __cplusplus
 extern "C" {
@@ -92,9 +93,6 @@ FARPROC ap_load_dll_func(ap_dlltoken_e f
 PSECURITY_ATTRIBUTES GetNullACL(void);
 void CleanNullACL(void *sa);
 
-int set_listeners_noninheritable(apr_pool_t *p);
-
-
 #define AP_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names) \
     typedef rettype (calltype *ap_winapi_fpt_##fn) args; \
     static ap_winapi_fpt_##fn ap_winapi_pfn_##fn = NULL; \



Mime
View raw message