Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 18588 invoked by uid 6000); 19 Jan 1998 06:34:28 -0000 Received: (qmail 18571 invoked from network); 19 Jan 1998 06:34:27 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 19 Jan 1998 06:34:27 -0000 Received: (qmail 18731 invoked by uid 500); 19 Jan 1998 06:50:16 -0000 Date: Sun, 18 Jan 1998 22:50:16 -0800 (PST) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: [PATCH] new_connection -> ap_new_connection name change In-Reply-To: <34C1CBE9.84AEFD98@telebusiness.co.nz> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. Organization: Transmeta Corp. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Could STANDALONE_MAIN be changed to #include another .c file? I really hate not being able to stick static on things that are of file scope. Dean On Sun, 18 Jan 1998, Doug MacEachern wrote: > Rodent of Unusual Size wrote: > > > Rasmus Lerdorf wrote: > > > > > > Ok, how about just making it static then? If it will never be used > > > outside of that file that should take care of it. > > > > If it's never used anywhere else then that's definitely the > > preferred solution to my mind. +1 - but I can't verify the > > source at this moment. > > Please don't!!! The DCE module (discussed a while back, which uses dce > rpc, not tcp, sfio, etc.), calls new_connection() in it's > -DSTANDALONE_MAIN function. Rename is little trouble, but static'izing > new_connection() would be a nightmare. I vote for httpd_new_connection, > or something like that. > > -Doug > >