You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/11/24 21:32:43 UTC

svn commit: r883860 - in /httpd/httpd/trunk: include/http_vhost.h server/vhost.c

Author: trawick
Date: Tue Nov 24 20:32:42 2009
New Revision: 883860

URL: http://svn.apache.org/viewvc?rev=883860&view=rev
Log:
non-static directive parsers should be AP_DECLARE_NONSTD()

Modified:
    httpd/httpd/trunk/include/http_vhost.h
    httpd/httpd/trunk/server/vhost.c

Modified: httpd/httpd/trunk/include/http_vhost.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_vhost.h?rev=883860&r1=883859&r2=883860&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_vhost.h (original)
+++ httpd/httpd/trunk/include/http_vhost.h Tue Nov 24 20:32:42 2009
@@ -58,8 +58,9 @@
  * @param dummy NOT USED
  * @param arg a host of the form "<address>[:port]"
  */
-const char *ap_set_name_virtual_host (cmd_parms *cmd, void *dummy,
-				      const char *arg);
+AP_DECLARE_NONSTD(const char *)ap_set_name_virtual_host(cmd_parms *cmd,
+                                                        void *dummy,
+                                                        const char *arg);
 
 /**
  * Callback function for every Name Based Virtual Host.

Modified: httpd/httpd/trunk/server/vhost.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/vhost.c?rev=883860&r1=883859&r2=883860&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Tue Nov 24 20:32:42 2009
@@ -249,8 +249,9 @@
 }
 
 
-const char *ap_set_name_virtual_host(cmd_parms *cmd, void *dummy,
-                                     const char *arg)
+AP_DECLARE_NONSTD(const char *)ap_set_name_virtual_host(cmd_parms *cmd,
+                                                        void *dummy,
+                                                        const char *arg)
 {
     /* use whatever port the main server has at this point */
     return get_addresses(cmd->pool, arg, &name_vhost_list_tail,