1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Fix ftbfs with GCC-10
Bug-Debian: https://bugs.debian.org/957106
Bug-Debian: https://bugs.debian.org/1067439
---
--- a/src/include/plugins/ldap/ldap.h
+++ b/src/include/plugins/ldap/ldap.h
@@ -106,7 +106,7 @@ typedef struct CPU_ldap {
Parser * parse;
} CPU_ldap;
-CPU_ldap * globalLdap;
+extern CPU_ldap * globalLdap;
int parseCommand(int argc, char *argv[]);
void printHelp(int op);
--- a/src/plugins/ldap/ldap.c
+++ b/src/plugins/ldap/ldap.c
@@ -26,6 +26,8 @@
#include <stdio.h>
#include "plugins/ldap/ldap.h"
+CPU_ldap * globalLdap;
+
int verbose;
int operation;
|