From: William A. Rowe Jr Date: Sun, 20 Jan 2002 23:13:51 +0000 (+0000) Subject: This one is a registered fn... that's why it must be _NONSTD. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94189ae3e0e54335fe42f4e4f06e954a7373bb7f;p=thirdparty%2Fapache%2Fhttpd.git This one is a registered fn... that's why it must be _NONSTD. 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 --- diff --git a/src/include/http_vhost.h b/src/include/http_vhost.h index 87f5ace62ab..60618963d63 100644 --- a/src/include/http_vhost.h +++ b/src/include/http_vhost.h @@ -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); diff --git a/src/main/http_vhost.c b/src/main/http_vhost.c index a35d83e76da..9947e8d8adb 100644 --- a/src/main/http_vhost.c +++ b/src/main/http_vhost.c @@ -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,