summaryrefslogtreecommitdiff
blob: 00d7a9e96b227e0221a3f3b47b9277158d369e8b (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
Index: fbsd-6.1/usr.bin/window/wwgets.c
===================================================================
--- fbsd-6.1.orig/usr.bin/window/wwgets.c
+++ fbsd-6.1/usr.bin/window/wwgets.c
@@ -43,6 +43,8 @@ static char rcsid[] =
 #include "ww.h"
 #include "char.h"
 
+static void rub();
+
 wwgets(buf, n, w)
 char *buf;
 int n;
@@ -51,7 +53,6 @@ register struct ww *w;
 	register char *p = buf;
 	register int c;
 	char uc = w->ww_unctrl;
-	static void rub();
 
 	w->ww_unctrl = 0;
 	for (;;) {
Index: fbsd-6.1/usr.bin/xlint/xlint/xlint.c
===================================================================
--- fbsd-6.1.orig/usr.bin/xlint/xlint/xlint.c
+++ fbsd-6.1/usr.bin/xlint/xlint/xlint.c
@@ -402,7 +402,8 @@ main(int argc, char *argv[])
 			break;
 
 		case 'p':
-			appcstrg(&lcflags, "-Wtraditional -Wno-system-headers");
+			appcstrg(&lcflags, "-Wtraditional");
+			appcstrg(&lcflags, "-Wno-system-headers");
 			appcstrg(&l1flags, "-p");
 			appcstrg(&l2flags, "-p");
 			if (*deflibs != NULL) {