shithub: scc

Download patch

ref: f854f2009e61e412676d754b8b7b317d2643d5df
parent: 0d927c0c39cc34a306efdccbc67b46b6c6d979be
author: FRIGN <dev@frign.de>
date: Tue May 17 17:33:18 EDT 2016

Add LICENSE statement to each source file

So the licensing is clear to everybody.

--- a/cc1/Makefile
+++ b/cc1/Makefile
@@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
 .POSIX:
 
 include ../config.mk
--- a/cc1/arch/amd64-sysv/arch.c
+++ b/cc1/arch/amd64-sysv/arch.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 
 #include "arch.h"
--- a/cc1/arch/amd64-sysv/arch.h
+++ b/cc1/arch/amd64-sysv/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define RANK_BOOL    0
 #define RANK_SCHAR   1
 #define RANK_UCHAR   1
--- a/cc1/arch/i386-sysv/arch.c
+++ b/cc1/arch/i386-sysv/arch.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 
 #include "arch.h"
--- a/cc1/arch/i386-sysv/arch.h
+++ b/cc1/arch/i386-sysv/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define RANK_BOOL    0
 #define RANK_SCHAR   1
 #define RANK_UCHAR   1
--- a/cc1/arch/qbe/arch.c
+++ b/cc1/arch/qbe/arch.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 
 #include "arch.h"
--- a/cc1/arch/qbe/arch.h
+++ b/cc1/arch/qbe/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define RANK_BOOL    0
 #define RANK_SCHAR   1
 #define RANK_UCHAR   1
--- a/cc1/arch/z80/arch.c
+++ b/cc1/arch/z80/arch.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 
 #include "arch.h"
--- a/cc1/arch/z80/arch.h
+++ b/cc1/arch/z80/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define RANK_BOOL    0
 #define RANK_SCHAR   1
 #define RANK_UCHAR   1
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 
 #define INPUTSIZ LINESIZ
 
--- a/cc1/code.c
+++ b/cc1/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <ctype.h>
 #include <limits.h>
 #include <stdio.h>
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <setjmp.h>
 #include <stdarg.h>
 #include <stdio.h>
--- a/cc1/error.c
+++ b/cc1/error.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/cc1/fold.c
+++ b/cc1/fold.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 
--- a/cc1/init.c
+++ b/cc1/init.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc1/lex.c
+++ b/cc1/lex.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <ctype.h>
 #include <errno.h>
 #include <setjmp.h>
--- a/cc1/main.c
+++ b/cc1/main.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <setjmp.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc1/stallman.msg
+++ b/cc1/stallman.msg
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20, 0x74, 0x20, 0x73, 0x20,
 0x65, 0x20, 0x78, 0x20, 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20,
 0x74, 0x20, 0x73, 0x20, 0x65, 0x20, 0x78, 0x20, 0x2a, 0x20, 0x67, 0x20,
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stddef.h>
 #include <setjmp.h>
 #include <stdio.h>
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+# See LICENSE file for copyright and license details.
 
 out=/tmp/$$.out
 err=/tmp/$$.err
--- a/cc1/tests/test001.c
+++ b/cc1/tests/test001.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST001
 description: Basic hello world test
--- a/cc1/tests/test002.c
+++ b/cc1/tests/test002.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST002
 description: Test forward references before definition of types
--- a/cc1/tests/test003.c
+++ b/cc1/tests/test003.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST003
 description: Select function to call inside ternary operator
--- a/cc1/tests/test004.c
+++ b/cc1/tests/test004.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST004
 description: Test integer operations
--- a/cc1/tests/test005.c
+++ b/cc1/tests/test005.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST005
 description: Test unary integer operations
--- a/cc1/tests/test006.c
+++ b/cc1/tests/test006.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST006
 description: Basic test for if
--- a/cc1/tests/test007.c
+++ b/cc1/tests/test007.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST007
 description: basic while test
@@ -24,7 +26,7 @@
 main()
 {
 	int x;
-	
+
 	x = 10;
 	while (x)
 		x = x - 1;
--- a/cc1/tests/test008.c
+++ b/cc1/tests/test008.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST008
 description: Basic do while loop
@@ -24,20 +26,20 @@
 }
 */
 
-int 
+int
 main()
 {
 	int x;
-	
+
 	x = 0;
-	do 
+	do
 	  x = x + 1;
-	while(x < 10);
-	
+	while (x < 10);
+
 	do {
 	  x = x + 1;
-	} while(x < 20);
-	
+	} while (x < 20);
+
 	return x - 20;
 }
 
--- a/cc1/tests/test009.c
+++ b/cc1/tests/test009.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST009
 description: Basic test for loops
@@ -23,11 +25,11 @@
 }
 */
 
-int 
+int
 main()
 {
 	int x;
-	
+
 	for (x = 0; x < 10 ; x = x + 1)
 		;
 	if (x != 10)
--- a/cc1/tests/test010.c
+++ b/cc1/tests/test010.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST010
 description: Test for continue and break statements
@@ -66,7 +68,7 @@
 main()
 {
 	int x;
-	
+
 	x = 0;
 	while(1)
 		break;
--- a/cc1/tests/test011.c
+++ b/cc1/tests/test011.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST011
 description: Basic test for goto
--- a/cc1/tests/test012.c
+++ b/cc1/tests/test012.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST012
 description: Basic switch test
--- a/cc1/tests/test013.c
+++ b/cc1/tests/test013.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST013
 description: Basic test of integer types and integer conversions
--- a/cc1/tests/test014.c
+++ b/cc1/tests/test014.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST014
 description: Basic storage class test
--- a/cc1/tests/test015.c
+++ b/cc1/tests/test015.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST015
 description: Stress namespace mechanism
--- a/cc1/tests/test016.c
+++ b/cc1/tests/test016.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST016
 description: Basic pointer test
@@ -58,7 +60,7 @@
 	*p = 0;
 	if (x)
 		return 1;
-	
+
 	p = &g;
 	*p = 0;
 	if (p == 0)
@@ -72,7 +74,7 @@
 	int   x;
 	int  *p;
 	int **pp;
-	
+
 	x = 1;
 	p = &x;
 	pp = &p;
--- a/cc1/tests/test017.c
+++ b/cc1/tests/test017.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST017
 description: Basic test about pointers and structs
--- a/cc1/tests/test018.c
+++ b/cc1/tests/test018.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST018
 description: Basic test for arrays
--- a/cc1/tests/test019.c
+++ b/cc1/tests/test019.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST019
--- a/cc1/tests/test020.c
+++ b/cc1/tests/test020.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST020
@@ -60,7 +61,7 @@
 	i = i << 0;
 	i = 0 << i;
 	i = i >> 0;
-	i = 0 >> i;	
+	i = 0 >> i;
 	i = i + 0;
 	i = 0 + i;
 	i = i - 0;
--- a/cc1/tests/test021.c
+++ b/cc1/tests/test021.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST021
--- a/cc1/tests/test022.c
+++ b/cc1/tests/test022.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST022
--- a/cc1/tests/test023.c
+++ b/cc1/tests/test023.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST023
--- a/cc1/tests/test024.c
+++ b/cc1/tests/test024.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST024
--- a/cc1/tests/test025.c
+++ b/cc1/tests/test025.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST025
--- a/cc1/tests/test026.c
+++ b/cc1/tests/test026.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST026
--- a/cc1/tests/test027.c
+++ b/cc1/tests/test027.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST027
--- a/cc1/tests/test028.c
+++ b/cc1/tests/test028.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST028
--- a/cc1/tests/test029.c
+++ b/cc1/tests/test029.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST029
--- a/cc1/tests/test030.c
+++ b/cc1/tests/test030.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST030
--- a/cc1/tests/test031.c
+++ b/cc1/tests/test031.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST031
--- a/cc1/tests/test032.c
+++ b/cc1/tests/test032.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST032
--- a/cc1/tests/test033.c
+++ b/cc1/tests/test033.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST033
 description: test for #if defined()
--- a/cc1/tests/test034.c
+++ b/cc1/tests/test034.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST034
--- a/cc1/tests/test035.c
+++ b/cc1/tests/test035.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST035
--- a/cc1/tests/test036.c
+++ b/cc1/tests/test036.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST036
--- a/cc1/tests/test037.c
+++ b/cc1/tests/test037.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST037
--- a/cc1/tests/test038.c
+++ b/cc1/tests/test038.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST038
--- a/cc1/tests/test039.c
+++ b/cc1/tests/test039.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST039
--- a/cc1/tests/test040.c
+++ b/cc1/tests/test040.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST040
 description: Test for bug parsing typenames in struct definition
--- a/cc1/tests/test041.c
+++ b/cc1/tests/test041.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST041
 description: Test for bug parsing ternary operators
--- a/cc1/tests/test042.c
+++ b/cc1/tests/test042.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST042
 description: Test for bug parsing ternary operators
--- a/cc1/tests/test043.c
+++ b/cc1/tests/test043.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST043
 description: Test for double typedef (taken from plan9 kernel)
--- a/cc1/tests/test044.c
+++ b/cc1/tests/test044.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST044
 description: Test of corner cases in #if
--- a/cc1/tests/test045.c
+++ b/cc1/tests/test045.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST045
 description: Basic test of initializers
--- a/cc1/tests/test046.c
+++ b/cc1/tests/test046.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST046
 description: Basic test for initializators
--- a/cc1/tests/test047.c
+++ b/cc1/tests/test047.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST047
 description: Basic test for initializer
--- a/cc1/tests/test048.c
+++ b/cc1/tests/test048.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST048
 description: Basic test for initializer
--- a/cc1/tests/test049.c
+++ b/cc1/tests/test049.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST049
 description: Basic test for initializer
--- a/cc1/tests/test050.c
+++ b/cc1/tests/test050.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST050
 description: Basic test for initializer
--- a/cc1/tests/test051.c
+++ b/cc1/tests/test051.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST051
 description: Basic test for initializer
--- a/cc1/tests/test052.c
+++ b/cc1/tests/test052.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST052
 description: Basic test for initializer
--- a/cc1/tests/test053.c
+++ b/cc1/tests/test053.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST053
 description: Basic test for initializer
--- a/cc1/tests/test054.c
+++ b/cc1/tests/test054.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST054
 description: Basic test for initializer
--- a/cc1/tests/test055.c
+++ b/cc1/tests/test055.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST055
 description: Basic test for initializer
--- a/cc1/tests/test056.c
+++ b/cc1/tests/test056.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST056
 desciption: Test of overlaying designators
--- a/cc1/tests/test057.c
+++ b/cc1/tests/test057.c
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 
 /*
 name: TEST057
--- a/cc1/tests/test058.c
+++ b/cc1/tests/test058.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST058
 description: Test of initialization mixing designators and sequence
--- a/cc1/tests/test059.c
+++ b/cc1/tests/test059.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST059
 description: Test of initalizers for strings
--- a/cc1/tests/test060.c
+++ b/cc1/tests/test060.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST060
 description: Test for correctness of #line
--- a/cc1/tests/test061.c
+++ b/cc1/tests/test061.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST061
 description: Test for macros without arguments but with parenthesis
--- a/cc1/tests/test062.c
+++ b/cc1/tests/test062.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
 name: TEST062
 description: Test for hexadecimal numbers in upper and lower case
--- a/cc1/tests/update.sh
+++ b/cc1/tests/update.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+# See LICENSE file for copyright and license details.
 
 out=/tmp/$$.out
 err=/tmp/$$.err
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc2/Makefile
+++ b/cc2/Makefile
@@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
 .POSIX:
 
 include ../config.mk
--- a/cc2/arch/amd64-sysv/arch.h
+++ b/cc2/arch/amd64-sysv/arch.h
@@ -1,6 +1,5 @@
-
+/* See LICENSE file for copyright and license details. */
 #define TINT    long long
 #define TUINT   unsigned long long
 #define TFLOAT  double
 #define TSIZE   unsigned long
-
--- a/cc2/arch/amd64-sysv/cgen.c
+++ b/cc2/arch/amd64-sysv/cgen.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/amd64-sysv/code.c
+++ b/cc2/arch/amd64-sysv/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 
--- a/cc2/arch/amd64-sysv/optm.c
+++ b/cc2/arch/amd64-sysv/optm.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/amd64-sysv/types.c
+++ b/cc2/arch/amd64-sysv/types.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/i386-sysv/arch.h
+++ b/cc2/arch/i386-sysv/arch.h
@@ -1,6 +1,5 @@
-
+/* See LICENSE file for copyright and license details. */
 #define TINT    long long
 #define TUINT   unsigned long long
 #define TFLOAT  double
 #define TSIZE   unsigned long
-
--- a/cc2/arch/i386-sysv/cgen.c
+++ b/cc2/arch/i386-sysv/cgen.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/i386-sysv/code.c
+++ b/cc2/arch/i386-sysv/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 
--- a/cc2/arch/i386-sysv/optm.c
+++ b/cc2/arch/i386-sysv/optm.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/i386-sysv/types.c
+++ b/cc2/arch/i386-sysv/types.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/qbe/arch.h
+++ b/cc2/arch/qbe/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define TINT    long long
 #define TUINT   unsigned long long
 #define TFLOAT  double
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <assert.h>
 #include <stdlib.h>
 
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/cc2/arch/qbe/optm.c
+++ b/cc2/arch/qbe/optm.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stddef.h>
 
 #include "arch.h"
--- a/cc2/arch/qbe/types.c
+++ b/cc2/arch/qbe/types.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/z80/arch.h
+++ b/cc2/arch/z80/arch.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define TINT    long long
 #define TUINT   unsigned long long
 #define TFLOAT  double
--- a/cc2/arch/z80/cgen.c
+++ b/cc2/arch/z80/cgen.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/z80/code.c
+++ b/cc2/arch/z80/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdio.h>
 #include <stdlib.h>
 
--- a/cc2/arch/z80/optm.c
+++ b/cc2/arch/z80/optm.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/arch/z80/types.c
+++ b/cc2/arch/z80/types.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "../../cc2.h"
 
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 enum tflags {
 	SIGNF   =    1,
 	INTF    =    2,
--- a/cc2/code.c
+++ b/cc2/code.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdlib.h>
 
 #include "arch.h"
--- a/cc2/generror
+++ b/cc2/generror
@@ -1,4 +1,4 @@
-
+# See LICENSE file for copyright and license details.
 BEGIN {
 	print "char *errlist[] = {"
 }
--- a/cc2/main.c
+++ b/cc2/main.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc2/node.c
+++ b/cc2/node.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <stdlib.h>
 #include <string.h>
 
--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/cc2/peep.c
+++ b/cc2/peep.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include "arch.h"
 #include "cc2.h"
 
--- a/cc2/symbol.c
+++ b/cc2/symbol.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/driver/posix/Makefile
+++ b/driver/posix/Makefile
@@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
 .POSIX:
 
 include ../../config.mk
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #define _POSIX_SOURCE
 #include <sys/types.h>
 #include <sys/wait.h>
--- a/inc/cc.h
+++ b/inc/cc.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #ifndef __bool_true_and_false_defined
 #ifdef NBOOL
 typedef unsigned bool;
--- a/inc/sizes_c89.h
+++ b/inc/sizes_c89.h
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
  * 15 nesting levels of compound statements, iteration control
  * structures, and selection control structures
--- a/inc/sizes_c99.h
+++ b/inc/sizes_c99.h
@@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
 /*
  * 127 nesting levels of blocks
  */
--- a/libc/include/z80/assert.h
+++ b/libc/include/z80/assert.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #ifndef _ASSERT_H
 #define _ASSERT_H
 
--- a/libc/include/z80/ctype.h
+++ b/libc/include/z80/ctype.h
@@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
 #ifndef _CTYPE_H
 #define _CTYPE_H
 
@@ -17,4 +17,4 @@
 int tolower(int c);
 int toupper(int c);
 
-#endif
\ No newline at end of file
+#endif
--- a/libc/include/z80/errno.h
+++ b/libc/include/z80/errno.h
@@ -1,7 +1,7 @@
-
+/* See LICENSE file for copyright and license details. */
 #ifndef _ERRNO_H
 #define _ERRNO_H
 
 extern int errno;
 
-#endif
\ No newline at end of file
+#endif
--- a/libc/include/z80/signal.h
+++ b/libc/include/z80/signal.h
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 #ifndef _SIGNAL_H
 #define _SIGNAL_H
 
@@ -4,4 +5,4 @@
 void ( *signal(int signum, void (*handler)(int)) ) (int);
 int raise(int sig);
 
-#endif
\ No newline at end of file
+#endif
--- a/libc/include/z80/stdio.h
+++ b/libc/include/z80/stdio.h
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 #ifndef _STDIO_H
 #define _STDIO_H
 
--- a/libc/include/z80/stdlib.h
+++ b/libc/include/z80/stdlib.h
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 #ifndef _STDLIB_H
 #define _STDLIB_H
 
--- a/libc/include/z80/string.h
+++ b/libc/include/z80/string.h
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
 #ifndef _STRING_H
 #define _STRING_H