File fwnn-implicit-function-declaration.patch of Package fwnn

Index: FreeWnn-1.1.1-a023.1.new/Wnn/uum/termcap.c
===================================================================
--- FreeWnn-1.1.1-a023.1.new.orig/Wnn/uum/termcap.c
+++ FreeWnn-1.1.1-a023.1.new/Wnn/uum/termcap.c
@@ -61,6 +61,8 @@
 #include "sdefine.h"
 #include "sheader.h"
 
+#include "../include/conv.h"
+
 #undef DEFAULT_KKCAP
 /* declaration about terminal */
 
Index: FreeWnn-1.1.1-a023.1.new/Wnn/include/conv.h
===================================================================
--- FreeWnn-1.1.1-a023.1.new.orig/Wnn/include/conv.h
+++ FreeWnn-1.1.1-a023.1.new/Wnn/include/conv.h
@@ -39,8 +39,6 @@
 #endif	/* __STDC__ */
 
 extern int convert_key_setup FRWNN_PARAMS((char *, int));
-#ifdef TERMCAP
 extern int convert_getterm FRWNN_PARAMS((char *termname, int flg));
-#endif	/* TERMCAP  */
 
 #endif /* FRWNN_CONV_H  */
openSUSE Build Service is sponsored by