telnet.c:44:12: error: conflicting types for ‘visual_bell’
 extern int visual_bell;
            ^
In file included from screen.h:37:0,
                 from telnet.c:39:
ansi.h:166:13: note: previous declaration of ‘visual_bell’ was here
 extern bool visual_bell;
             ^


Patch attached.


Regards,
     jer
--- a/src/telnet.c
+++ b/src/telnet.c
@@ -41,7 +41,7 @@
 
 extern Window *fore;
 extern Layer *flayer;
-extern int visual_bell;
+extern bool visual_bell;
 extern char screenterm[];
 extern int af;
 

Reply via email to