www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Marxmeier <m...@msede.com>
Subject other/129: mod_rewrite: Inconsistent declaration/definition of is_proxy_available()
Date Mon, 27 Jan 1997 13:10:01 GMT

>Number:         129
>Category:       other
>Synopsis:       mod_rewrite: Inconsistent declaration/definition of is_proxy_available()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 27 05:10:00 1997
>Originator:     mike@msede.com
>Organization:
apache
>Release:        12.b6
>Environment:
HP-UX 9.x, HP's ANSI-C Compiler
>Description:
        cc -Ae -c   +O3 +DA1.1 +DS1.1 -DHPUX -DSTATUS   mod_rewrite.c
cc: "mod_rewrite.c", line 2996: warning 562: Redeclaration of "is_proxy_availabl
e" with a different storage class: "is_proxy_available" will have static storage
 duration.

mod_rewrite.h:static int is_proxy_available(server_rec *s);
mod_rewrite.c:int is_proxy_available(server_rec *s)
>How-To-Repeat:

>Fix:
Make is_proxy_available() static, since it's not used anywhere else.
Remove declaration of is_proxy_available() from mod_rewrite.h
and add the prototype at the beginning of mod_rewrite.c. 
%0
>Audit-Trail:
>Unformatted:



Mime
View raw message