summarylogtreecommitdiffstats
path: root/strict-prototypes.patch
blob: d94b54881524f872c7641eab80356ba440f80ebc (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
diff --git a/src/main.c b/src/main.c
index 41c5eac..b7c7b8d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -127,7 +127,6 @@ extern char *getenv ();
 
 int main (int argc, char *argv[])
 {
-	char *basename ();
 	void (*old_int)(int);
 	void (*old_quit)(int);
 	void (*old_stop)(int);
diff --git a/src/edit.c b/src/edit.c
index c045277..86a4661 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1171,7 +1171,6 @@ int ptscan (int way, int *num)
 int settab (char str[])
 {
 	int i, j, n, maxstop, last, inc, ret;
-	int ctoi ();
 
 	for (i = 0; i < MAXLINE; i++)   /* clear all tab stops */
 		Tabstops[i] = SE_NO;
diff --git a/src/main.c b/src/main.c
index 5105a0a..021373e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -120,7 +120,7 @@ int Crypting = SE_NO;	/* doing file encryption? */
 char Key[KEYSIZE] = "";	/* saved encryption key */
 #endif /* HAVE_CRYPT_PROG */
 
-extern char *getenv ();
+extern char *getenv (const char *name);
 
 /* main --- main program for screen editor */
 
diff --git a/src/scratch.c b/src/scratch.c
index ac89cde..cb34957 100644
--- a/src/scratch.c
+++ b/src/scratch.c
@@ -196,10 +196,8 @@ int gtxt (LINEDESC *ptr)
 int inject (char lin[])
 {
 	int i;
-	int maklin ();
 	LINEDESC *k1, *k2;
 	LINEDESC *k3;
-	LINEDESC *getind ();
 
 	for (i = 0; lin [i] != SE_EOS; )
 	{