You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Michael Marxmeier <mi...@msede.com> on 1997/02/24 01:30:01 UTC
other/186: warning returned during compile of mod_rewrite
>Number: 186
>Category: other
>Synopsis: warning returned during compile of mod_rewrite
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sun Feb 23 16:30:01 1997
>Originator: mike@msede.com
>Organization:
apache
>Release: 1.2b7
>Environment:
HP-UX 9.04, ANSI cc
>Description:
Compiler message:
cc -Ae -c +O3 +DA1.1 +DS1.1 -DHPUX -DSTATUS mod_rewrite.c
cc: "mod_rewrite.c", line 2972: warning 562: Redeclaration of "add_env_variable"
with a different storage class: "add_env_variable" will have static storage
duration.
>How-To-Repeat:
>Fix:
Definition/declaration of add_env_variable is inconsistent:
mod_rewrite.c:void add_env_variable(request_rec *r, char *s)
mod_rewrite.h:static void add_env_variable(request_rec *r, char *s);
Since is is not used outside mod_rewrite.c, it should probably
become a static
>Audit-Trail:
>Unformatted: