]> granicus.if.org Git - apache/commitdiff
* modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4
authorJoe Orton <jorton@apache.org>
Tue, 9 Aug 2005 08:21:39 +0000 (08:21 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 9 Aug 2005 08:21:39 +0000 (08:21 +0000)
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

index 4aff9388cb04f9fb445772c5639bae4da6521f6f..92c6be778ea53f97e1f44cc030f23c7e037912b4 100644 (file)
@@ -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;