From: Martin Basti <mbasti@redhat.com>
Date: Fri, 2 Sep 2016 09:57:54 +0200
Subject: [PATCH] Add missing void to slapi_get_cacertfile() declaration
This fixes compiler warning:
In file included from topology.h:9:0,
from topology_init.c:2:
/usr/include/dirsrv/slapi-plugin.h:6276:1: warning: function declaration
isn't a prototype [-Wstrict-prototypes]
const char * slapi_get_cacertfile();
^~~~~
---
ldap/servers/slapd/slapi-plugin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h
index 7022e59d0c8bcb60f3bb041b690b7db4edb1c307..2dda7e360dee955069c485eca4f8553d20d3c4af 100644
--- a/ldap/servers/slapd/slapi-plugin.h
+++ b/ldap/servers/slapd/slapi-plugin.h
@@ -6273,7 +6273,7 @@ int slapi_ldap_bind(
*
* \return the full path of PEM format CA Cert
*/
-const char * slapi_get_cacertfile();
+const char * slapi_get_cacertfile(void);
/**
* Set the full path of PEM format CA Cert
--
2.7.4
Patch attached, please see commit message for details.
No comments:
Post a Comment