Received: by taz.hyperreal.com (8.8.4/V2.0) id FAA26864; Mon, 27 Jan 1997 05:10:03 -0800 (PST) Received: by taz.hyperreal.com (8.8.4/V2.0) id FAA26857; Mon, 27 Jan 1997 05:10:01 -0800 (PST) Date: Mon, 27 Jan 1997 05:10:01 -0800 (PST) Message-Id: <199701271310.FAA26857@taz.hyperreal.com> From: Michael Marxmeier Reply-To: Michael Marxmeier To: gnats-admin@hyperreal.com Cc: brian@hyperreal.com, apache-bugdb@apache.org Subject: other/129: mod_rewrite: Inconsistent declaration/definition of is_proxy_available() In-Reply-To: Your message of Mon, 27 Jan 1997 05:06:13 -0800 (PST) <199701271306.FAA26687@taz.hyperreal.com> Sender: apache-bugdb-owner@apache.org Precedence: bulk >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: