Jim Jagielski wrote:

Many compile warnings when compiling with maint-mode:

Fixed. Thanks,

Cheers

Jean-Frederic


mod_proxy.c: In function 'add_pass':
mod_proxy.c:1176: warning: implicit declaration of function 'proxy_checkstorage_add_entry'
mod_proxy.c: In function 'proxy_post_config':
mod_proxy.c:1870: warning: implicit declaration of function 'proxy_create_comarea'
mod_proxy.c: In function 'proxy_pre_config':
mod_proxy.c:2014: warning: implicit declaration of function 'proxy_lookup_storage_provider'


In file included from proxy_util.c:20:
mod_proxy_health_checker.h:32: warning: function declaration isn't a prototype proxy_util.c:2234: warning: no previous prototype for 'proxy_create_comarea'
proxy_util.c:2244: warning: function declaration isn't a prototype
proxy_util.c:2255: warning: no previous prototype for 'proxy_checkstorage_add_entry'

In file included from mod_proxy_health_checker.c:15:
mod_proxy_health_checker.h:32: warning: function declaration isn't a prototype
mod_proxy_health_checker.c: In function 'healthck_pre_config':
mod_proxy_health_checker.c:21: warning: implicit declaration of function 'health_checker_get_storage' mod_proxy_health_checker.c:21: warning: initialization makes pointer from integer without a cast mod_proxy_health_checker.c:26: warning: implicit declaration of function 'health_checker_init_slotmem_storage' mod_proxy_health_checker.c:30: warning: implicit declaration of function 'health_checker_init_slotmem'
mod_proxy_health_checker.c: In function 'ap_healthstore_register_hook':
mod_proxy_health_checker.c:57: warning: initialization makes pointer from integer without a cast
mod_proxy_health_checker.c:54: warning: unused variable 'aszPre'

In file included from health_checker_util.c:32:
mod_proxy_health_checker.h:32: warning: function declaration isn't a prototype health_checker_util.c:129: warning: function declaration isn't a prototype
health_checker_util.c: In function 'get_entry':
health_checker_util.c:240: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type health_checker_util.c:242: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type health_checker_util.c:244: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type health_checker_util.c:246: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type health_checker_util.c:248: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type
health_checker_util.c: In function 'get_entryconf':
health_checker_util.c:275: warning: passing argument 3 of 'checkstorage->ap_slotmem_mem' from incompatible pointer type
health_checker_util.c: In function 'check_entryhealth':
health_checker_util.c:289: warning: passing argument 3 of 'checkstorage->ap_slotmem_mem' from incompatible pointer type
health_checker_util.c: At top level:
health_checker_util.c:318: warning: initialization from incompatible pointer type health_checker_util.c:325: warning: function declaration isn't a prototype
health_checker_util.c: In function 'health_checker_get_storage':
health_checker_util.c:326: warning: return discards qualifiers from pointer target type
health_checker_util.c: At top level:
health_checker_util.c:331: warning: no previous prototype for 'health_checker_init_slotmem_storage' health_checker_util.c:335: warning: function declaration isn't a prototype
health_checker_util.c: In function 'health_checker_get_slotmem_storage':
health_checker_util.c:336: warning: return discards qualifiers from pointer target type
health_checker_util.c: At top level:
health_checker_util.c:341: warning: no previous prototype for 'health_checker_init_slotmem' health_checker_util.c:345: warning: function declaration isn't a prototype health_checker_util.c:306: warning: 'check_poolhealth' defined but not used

sharedmem_util.c:52: warning: no previous prototype for 'cleanup_slotmem'
sharedmem_util.c: In function 'ap_slotmem_create':
sharedmem_util.c:139: warning: implicit declaration of function 'apr_pstrdup' sharedmem_util.c:139: warning: assignment makes pointer from integer without a cast
sharedmem_util.c:83: warning: unused variable 'slotmem'
sharedmem_util.c: In function 'ap_slotmem_attach':
sharedmem_util.c:192: warning: assignment makes pointer from integer without a cast
sharedmem_util.c:154: warning: unused variable 'slotmem'
sharedmem_util.c: At top level:
sharedmem_util.c:234: warning: function declaration isn't a prototype
sharedmem_util.c: In function 'sharedmem_getstorage':
sharedmem_util.c:235: warning: return discards qualifiers from pointer target type
sharedmem_util.c: At top level:
sharedmem_util.c:239: warning: no previous prototype for 'sharedmem_initglobalpool' sharedmem_util.c:244: warning: no previous prototype for 'sharedmem_initialize_cleanup'



Reply via email to