summaryrefslogtreecommitdiff
path: root/development/beav/compilefixes.diff
blob: 0560e5ac97be70d35e55b84f4e47209779aa7bcb (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
diff -Naur beav-140/Makefile beav-140.patched/Makefile
--- beav-140/Makefile	2018-08-07 16:09:02.441431939 -0400
+++ beav-140.patched/Makefile	2018-08-07 16:20:08.928410267 -0400
@@ -1,6 +1,6 @@
 # This is the makefile for BSD UNIX
-#CFLAGS=     -g -DUNIX
-CFLAGS=     -g -DUNIX -Wall
+CFLAGS=     -DUNIX $(SLKCFLAGS)
+#CFLAGS=     -g -DUNIX -Wall
 CC=gcc
 
 OFILES=		basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
diff -Naur beav-140/basic.c beav-140.patched/basic.c
--- beav-140/basic.c	1994-11-30 12:43:34.000000000 -0500
+++ beav-140.patched/basic.c	2018-08-07 16:19:18.515411907 -0400
@@ -9,7 +9,6 @@
 
 #include    "def.h"
 
-bool move_ptr ();
 bool forwchar ();
 bool wind_on_dot ();
 bool backline ();
diff -Naur beav-140/def.h beav-140.patched/def.h
--- beav-140/def.h	2018-08-07 16:09:02.443431938 -0400
+++ beav-140.patched/def.h	2018-08-07 16:19:18.515411907 -0400
@@ -16,6 +16,7 @@
 
 #ifdef UNIX
 #include        <sys/types.h>
+#include        <string.h>
 #endif /* UNIX */
 
 #define BACKUP  1		/* Make backup file.            */
diff -Naur beav-140/file.c beav-140.patched/file.c
--- beav-140/file.c	2018-08-07 16:09:02.448431938 -0400
+++ beav-140.patched/file.c	2018-08-07 16:19:18.515411907 -0400
@@ -10,7 +10,6 @@
 char load_file ();
 char readin ();
 void makename ();
-bool writeout ();
 bool parse_f_name ();
 A32 ffseek ();
 A32 file_len ();
diff -Naur beav-140/random.c beav-140.patched/random.c
--- beav-140/random.c	2018-08-07 16:09:02.455431938 -0400
+++ beav-140.patched/random.c	2018-08-07 16:19:18.516411907 -0400
@@ -73,7 +73,6 @@
 extern bool dont_repeat;
 extern BUFFER sav_buf;
 
-char dec_chr_ok ();
 ulong get_long ();
 void wind_on_dot_all ();
 
diff -Naur beav-140/symbol.c beav-140.patched/symbol.c
--- beav-140/symbol.c	2018-08-07 16:09:02.459431938 -0400
+++ beav-140.patched/symbol.c	2018-08-07 16:19:18.516411907 -0400
@@ -8,7 +8,6 @@
 #include		<string.h>
 #include		"def.h"
 
-void keyadd ();
 void keydup ();