summaryrefslogtreecommitdiff
path: root/textproc/2bsd-diff/files/patch-diff.c
blob: 6be748081b3d6dd1207b996f296492389a98d97b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- diff.c.orig	Wed Nov 13 05:31:26 1991
+++ diff.c	Wed Mar 19 01:31:23 2003
@@ -176,9 +176,10 @@
 	return (a > b ? a : b);
 }
 
+sig_t
 done()
 {
-	if (tempfile)
+	if (tempfile[0])
 		unlink(tempfile);
 	exit(status);
 }
@@ -198,7 +199,6 @@
 char *p;
 {
 	register char *q;
-	char *realloc();
 
 	if ((q = realloc(p, (unsigned)n)) == NULL)
 		noroom();