Hello,
FreeIPA compilation gives a GCC warning in a 389-ds header:
In file included from ipa_dns.c:54:0:
/usr/include/dirsrv/slapi-plugin.h:5585:1: warning: function declaration
isn't a prototype [-Wstrict-prototypes]
int slapi_td_plugin_lock_init();
^
The attached patch should fix this.
--
Petr³
From 90bc3f3a34be23e5d10d980641fa9d8deb2a395e Mon Sep 17 00:00:00 2001
From: Petr Viktorin <pviktori@xxxxxxxxxx>
Date: Mon, 15 Sep 2014 13:16:15 +0200
Subject: [PATCH] Fix slapi_td_plugin_lock_init prototype
---
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 f1ecfe8..268e465 100644
--- a/ldap/servers/slapd/slapi-plugin.h
+++ b/ldap/servers/slapd/slapi-plugin.h
@@ -5582,7 +5582,7 @@ void slapi_td_get_val(int indexType, void **value);
int slapi_td_dn_init(void);
int slapi_td_set_dn(char *dn);
void slapi_td_get_dn(char **dn);
-int slapi_td_plugin_lock_init();
+int slapi_td_plugin_lock_init(void);
int slapi_td_set_plugin_locked(int *value);
void slapi_td_get_plugin_locked(int **value);
--
1.9.3
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel