File kterm-6.2.0-gcc4.patch of Package kterm

--- button.c
+++ button.c
@@ -41,7 +41,7 @@
 #include "error.h"
 #include "menu.h"
 
-extern char *malloc();
+extern void *malloc();
 
 extern void DoSecureKeyboard();
 
--- charproc.c
+++ charproc.c
@@ -102,8 +102,8 @@
 extern XtAppContext app_con;
 extern Widget toplevel;
 extern void exit();
-extern char *malloc();
-extern char *realloc();
+extern void *malloc();
+extern void *realloc();
 extern fd_set Select_mask;
 extern fd_set X_mask;
 extern fd_set pty_mask;
openSUSE Build Service is sponsored by