summaryrefslogtreecommitdiff
blob: f05a0b135371bf45e1da0e9a243e24cb77fa675f (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff -Naur kterm-6.2.0/main.c kterm-6.2.0-gentoo/main.c
--- kterm-6.2.0/main.c	1996-07-12 14:01:38.000000000 +0900
+++ kterm-6.2.0-gentoo/main.c	2002-05-21 08:37:31.000000000 +0900
@@ -75,9 +75,12 @@
 #include <X11/Xos.h>
 #include <X11/cursorfont.h>
 #include <X11/Xaw/SimpleMenu.h>
+/*
 #ifndef NO_XPOLL_H
 #include <X11/Xpoll.h>
 #endif
+*/
+#include <termios.h>
 #include <X11/Xlocale.h>
 #include <pwd.h>
 #include <ctype.h>
@@ -283,7 +286,7 @@
 #include <lastlog.h>
 # endif
 #endif
-#include <sys/param.h>	/* for NOFILE */
+//#include <sys/param.h>	/* for NOFILE */
 
 #ifdef  PUCC_PTYD
 #include <local/openpty.h>
diff -Naur kterm-6.2.0/screen.c kterm-6.2.0-gentoo/screen.c
--- kterm-6.2.0/screen.c	1996-06-23 17:00:26.000000000 +0900
+++ kterm-6.2.0-gentoo/screen.c	2002-05-21 08:30:55.000000000 +0900
@@ -46,7 +46,8 @@
 #include <sys/ptem.h>
 #endif
 
-extern Char *calloc(), *malloc(), *realloc();
+//extern Char *calloc(), *malloc(), *realloc();
+extern void *calloc(), *malloc(), *realloc();
 extern void free();
 
 ScrnBuf Allocate (nrow, ncol, addr)
diff -Naur kterm-6.2.0/scrollbar.c kterm-6.2.0-gentoo/scrollbar.c
--- kterm-6.2.0/scrollbar.c	1996-07-12 14:01:39.000000000 +0900
+++ kterm-6.2.0-gentoo/scrollbar.c	2002-05-21 08:30:39.000000000 +0900
@@ -324,7 +324,8 @@
 	register TScreen *screen = &xw->screen;
 	register int border = 2 * screen->border;
 	register int i;
-	Char *realloc(), *calloc();
+//	Char *realloc(), *calloc();
+	void *realloc(), *calloc();
 
 	if(screen->scrollbar)
 		return;