httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject Re: svn commit: r440337 - in /httpd/httpd/trunk: ./ include/ modules/arch/netware/ modules/experimental/ modules/generators/ modules/http/ modules/mappers/ modules/proxy/ modules/ssl/ server/ server/mpm/beos/ server/mpm/experimental/event/ server/mpm/exper...
Date Tue, 05 Sep 2006 20:17:22 GMT
Ruediger Pluem wrote:

> 1. If we stick to
> 
> AP_DECLARE(const char *) ap_get_server_version(void);
> 
> and do
> 
> #define ap_get_server_banner ap_get_server_version


I hate macros.  Just do it like:

AP_DECLARE(const char *) ap_get_server_banner() {
	return ap_get_server_version();
}

That way, it gets a symbol rather than disappearing after compile.


-- 
Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies

Mime
View raw message