]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
This one is a registered fn... that's why it must be _NONSTD.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 20 Jan 2002 23:13:51 +0000 (23:13 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 20 Jan 2002 23:13:51 +0000 (23:13 +0000)
  Right call in the first place, sorry for doubting.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92955 13f79535-47bb-0310-9956-ffa450edef68

src/include/http_vhost.h
src/main/http_vhost.c

index 87f5ace62abec6e7808aa3d8e173572b1f425e94..60618963d6355b6867fc0a8c0ec9c4399d3f72eb 100644 (file)
@@ -73,7 +73,7 @@ API_EXPORT(void) ap_fini_vhost_config(pool *p, server_rec *main_server);
 API_EXPORT(const char *) ap_parse_vhost_addrs(pool *p, const char *hostname, server_rec *s);
 
 /* handle NameVirtualHost directive */
-API_EXPORT(const char *) ap_set_name_virtual_host (cmd_parms *cmd, void *dummy, char *arg);
+API_EXPORT_NONSTD(const char *) ap_set_name_virtual_host (cmd_parms *cmd, void *dummy, char *arg);
 
 /* given an ip address only, give our best guess as to what vhost it is */
 API_EXPORT(void) ap_update_vhost_given_ip(conn_rec *conn);
index a35d83e76da2d47dc8b5fee5a9bff661b3bdd6d9..9947e8d8adb9c637fdece766fb93370843650fcf 100644 (file)
@@ -268,7 +268,7 @@ API_EXPORT(const char *) ap_parse_vhost_addrs(pool *p, const char *hostname, ser
 }
 
 
-API_EXPORT(const char *) ap_set_name_virtual_host (cmd_parms *cmd, void *dummy, char *arg)
+API_EXPORT_NONSTD(const char *) ap_set_name_virtual_host (cmd_parms *cmd, void *dummy, char *arg)
 {
     /* use whatever port the main server has at this point */
     return get_addresses(cmd->pool, arg, &name_vhost_list_tail,