]> granicus.if.org Git - apache/commitdiff
ap_listeners must be extern, otherwise you get multiple definitions
authorMartin Kraemer <martin@apache.org>
Thu, 7 Oct 1999 21:47:36 +0000 (21:47 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 7 Oct 1999 21:47:36 +0000 (21:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83944 13f79535-47bb-0310-9956-ffa450edef68

include/ap_listen.h

index 868c9f57ef3b793f29aa98279f174c661a888866..2df136618082c63fb28fc046782e611c16f494da 100644 (file)
@@ -68,7 +68,7 @@ struct ap_listen_rec {
 /* more stuff here, like which protocol is bound to the port */
 };
 
-ap_listen_rec *ap_listeners;
+extern ap_listen_rec *ap_listeners;
 
 void ap_listen_pre_config(void);
 int ap_listen_open(process_rec *process, unsigned port);