Description: Fix ftbfs with GCC-10.

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957356
Forwarded: no

---

--- ident2-1.07.orig/ident2.c
+++ ident2-1.07/ident2.c
@@ -23,6 +23,19 @@
 
 #include "ident2.h"
 
+size_t			Max_Connections;
+size_t			Client_Timeout;
+
+enum Service_Type	Service_Type;
+
+char			Dont_Change_Uid;
+char			Use_User_Ident;
+char			Allow_NOIDENT;
+char			*User_Ident_File;
+char			Reply_Always_Random;
+
+unsigned short		Ident_Port;
+
 #ifdef HAS_GETOPT_LONG
 #include <getopt.h>	/* getopt() is declared in unistd.h */
 #endif
--- ident2-1.07.orig/ident2.h
+++ ident2-1.07/ident2.h
@@ -67,18 +67,18 @@ enum Service_Type {NO_TYPE, DAEMON, INET
 
 /* ------------ variables ---------- */
 
-size_t			Max_Connections;
-size_t			Client_Timeout;
+extern size_t			Max_Connections;
+extern size_t			Client_Timeout;
 
-enum Service_Type	Service_Type;
+extern enum Service_Type	Service_Type;
 
-char			Dont_Change_Uid;
-char			Use_User_Ident;
-char			Allow_NOIDENT;
-char			*User_Ident_File;
-char			Reply_Always_Random;
+extern char			Dont_Change_Uid;
+extern char			Use_User_Ident;
+extern char			Allow_NOIDENT;
+extern char			*User_Ident_File;
+extern char			Reply_Always_Random;
 
-unsigned short		Ident_Port;
+extern unsigned short		Ident_Port;
 
 /* ----------- handy init macro ---------- */
 
