From 5143fec07d078900d3555caf56e61be3ac2e4139 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 9 Aug 2005 08:21:39 +0000 Subject: [PATCH] * modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4 warning "type qualifiers ignored on function return type". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231014 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 4aff9388cb..92c6be778e 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -1408,8 +1408,8 @@ static const char *util_ldap_set_opcache_entries(cmd_parms *cmd, void *dummy, * * If no matches are found, APR_LDAP_CA_TYPE_UNKNOWN is returned. */ -static const int util_ldap_parse_cert_type(const char *type) { - +static int util_ldap_parse_cert_type(const char *type) +{ /* Authority file in binary DER format */ if (0 == strcasecmp("CA_DER", type)) { return APR_LDAP_CA_TYPE_DER; -- 2.50.1