[hackers] [scc] Add LICENSE statement to each source file || FRIGN
commit a5ece0d283cc43d8119e3d45dd1edbf5723d2479
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue May 17 21:33:18 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Tue May 17 21:33:18 2016 +0200
Add LICENSE statement to each source file
So the licensing is clear to everybody.
diff --git a/cc1/Makefile b/cc1/Makefile
index 9dd52e3..fb85874 100644
--- a/cc1/Makefile
+++ b/cc1/Makefile
_AT_@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk
diff --git a/cc1/arch/amd64-sysv/arch.c b/cc1/arch/amd64-sysv/arch.c
index ea043b4..0ccb8be 100644
--- a/cc1/arch/amd64-sysv/arch.c
+++ b/cc1/arch/amd64-sysv/arch.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "arch.h"
diff --git a/cc1/arch/amd64-sysv/arch.h b/cc1/arch/amd64-sysv/arch.h
index 6d085d6..4417562 100644
--- a/cc1/arch/amd64-sysv/arch.h
+++ b/cc1/arch/amd64-sysv/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define RANK_BOOL 0
#define RANK_SCHAR 1
#define RANK_UCHAR 1
diff --git a/cc1/arch/i386-sysv/arch.c b/cc1/arch/i386-sysv/arch.c
index f2d3240..780de06 100644
--- a/cc1/arch/i386-sysv/arch.c
+++ b/cc1/arch/i386-sysv/arch.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "arch.h"
diff --git a/cc1/arch/i386-sysv/arch.h b/cc1/arch/i386-sysv/arch.h
index 6d085d6..4417562 100644
--- a/cc1/arch/i386-sysv/arch.h
+++ b/cc1/arch/i386-sysv/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define RANK_BOOL 0
#define RANK_SCHAR 1
#define RANK_UCHAR 1
diff --git a/cc1/arch/qbe/arch.c b/cc1/arch/qbe/arch.c
index ea043b4..0ccb8be 100644
--- a/cc1/arch/qbe/arch.c
+++ b/cc1/arch/qbe/arch.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "arch.h"
diff --git a/cc1/arch/qbe/arch.h b/cc1/arch/qbe/arch.h
index 6d085d6..4417562 100644
--- a/cc1/arch/qbe/arch.h
+++ b/cc1/arch/qbe/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define RANK_BOOL 0
#define RANK_SCHAR 1
#define RANK_UCHAR 1
diff --git a/cc1/arch/z80/arch.c b/cc1/arch/z80/arch.c
index 851bb77..7412bb0 100644
--- a/cc1/arch/z80/arch.c
+++ b/cc1/arch/z80/arch.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "arch.h"
diff --git a/cc1/arch/z80/arch.h b/cc1/arch/z80/arch.h
index f9977b3..9e436c4 100644
--- a/cc1/arch/z80/arch.h
+++ b/cc1/arch/z80/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define RANK_BOOL 0
#define RANK_SCHAR 1
#define RANK_UCHAR 1
diff --git a/cc1/cc1.h b/cc1/cc1.h
index 6d13036..ac816a1 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define INPUTSIZ LINESIZ
diff --git a/cc1/code.c b/cc1/code.c
index 30799be..017fb41 100644
--- a/cc1/code.c
+++ b/cc1/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/cpp.c b/cc1/cpp.c
index 264c84f..d18b925 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <ctype.h>
#include <limits.h>
#include <stdio.h>
diff --git a/cc1/decl.c b/cc1/decl.c
index 74a36c2..34738a0 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <setjmp.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/cc1/error.c b/cc1/error.c
index bf9fbb6..413a49e 100644
--- a/cc1/error.c
+++ b/cc1/error.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/expr.c b/cc1/expr.c
index 7a85900..99aed67 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cc1/fold.c b/cc1/fold.c
index bebe0dd..4fb68c3 100644
--- a/cc1/fold.c
+++ b/cc1/fold.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/init.c b/cc1/init.c
index e313285..533b980 100644
--- a/cc1/init.c
+++ b/cc1/init.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/lex.c b/cc1/lex.c
index f2fdcbc..4fa3664 100644
--- a/cc1/lex.c
+++ b/cc1/lex.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <ctype.h>
#include <errno.h>
#include <setjmp.h>
diff --git a/cc1/main.c b/cc1/main.c
index 7e4876d..9e53bd0 100644
--- a/cc1/main.c
+++ b/cc1/main.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/stallman.msg b/cc1/stallman.msg
index cbd2f9b..f11015e 100644
--- a/cc1/stallman.msg
+++ b/cc1/stallman.msg
_AT_@ -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,
diff --git a/cc1/stmt.c b/cc1/stmt.c
index 605a17b..620d472 100644
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <setjmp.h>
#include <stdio.h>
diff --git a/cc1/symbol.c b/cc1/symbol.c
index 1e363fd..252b526 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh
index 35224ae..7310db7 100755
--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
_AT_@ -1,4 +1,5 @@
#!/bin/sh
+# See LICENSE file for copyright and license details.
out=/tmp/$$.out
err=/tmp/$$.err
diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c
index eb7d560..45ad3de 100644
--- a/cc1/tests/test001.c
+++ b/cc1/tests/test001.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST001
description: Basic hello world test
diff --git a/cc1/tests/test002.c b/cc1/tests/test002.c
index 1915ca3..3696fb7 100644
--- a/cc1/tests/test002.c
+++ b/cc1/tests/test002.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST002
description: Test forward references before definition of types
diff --git a/cc1/tests/test003.c b/cc1/tests/test003.c
index 8120ae7..6334f1e 100644
--- a/cc1/tests/test003.c
+++ b/cc1/tests/test003.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST003
description: Select function to call inside ternary operator
diff --git a/cc1/tests/test004.c b/cc1/tests/test004.c
index fb433f0..a2fd853 100644
--- a/cc1/tests/test004.c
+++ b/cc1/tests/test004.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST004
description: Test integer operations
diff --git a/cc1/tests/test005.c b/cc1/tests/test005.c
index c81bc39..2b0e33f 100644
--- a/cc1/tests/test005.c
+++ b/cc1/tests/test005.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST005
description: Test unary integer operations
diff --git a/cc1/tests/test006.c b/cc1/tests/test006.c
index 9c57a07..da5cdfd 100644
--- a/cc1/tests/test006.c
+++ b/cc1/tests/test006.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST006
description: Basic test for if
diff --git a/cc1/tests/test007.c b/cc1/tests/test007.c
index e29219b..a4dfb87 100644
--- a/cc1/tests/test007.c
+++ b/cc1/tests/test007.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST007
description: basic while test
_AT_@ -24,7 +26,7 @@ int
main()
{
int x;
-
+
x = 10;
while (x)
x = x - 1;
diff --git a/cc1/tests/test008.c b/cc1/tests/test008.c
index 7875562..fd502f0 100644
--- a/cc1/tests/test008.c
+++ b/cc1/tests/test008.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST008
description: Basic do while loop
_AT_@ -24,20 +26,20 @@ L7
}
*/
-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;
}
diff --git a/cc1/tests/test009.c b/cc1/tests/test009.c
index 41bfe61..24e6a86 100644
--- a/cc1/tests/test009.c
+++ b/cc1/tests/test009.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST009
description: Basic test for loops
_AT_@ -23,11 +25,11 @@ L7
}
*/
-int
+int
main()
{
int x;
-
+
for (x = 0; x < 10 ; x = x + 1)
;
if (x != 10)
diff --git a/cc1/tests/test010.c b/cc1/tests/test010.c
index 0a4dcae..270ccfe 100644
--- a/cc1/tests/test010.c
+++ b/cc1/tests/test010.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST010
description: Test for continue and break statements
_AT_@ -66,7 +68,7 @@ int
main()
{
int x;
-
+
x = 0;
while(1)
break;
diff --git a/cc1/tests/test011.c b/cc1/tests/test011.c
index 245f94a..3101d13 100644
--- a/cc1/tests/test011.c
+++ b/cc1/tests/test011.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST011
description: Basic test for goto
diff --git a/cc1/tests/test012.c b/cc1/tests/test012.c
index f8a622f..bd1d4fd 100644
--- a/cc1/tests/test012.c
+++ b/cc1/tests/test012.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST012
description: Basic switch test
diff --git a/cc1/tests/test013.c b/cc1/tests/test013.c
index 94d9bb4..36cf011 100644
--- a/cc1/tests/test013.c
+++ b/cc1/tests/test013.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST013
description: Basic test of integer types and integer conversions
diff --git a/cc1/tests/test014.c b/cc1/tests/test014.c
index 0b6fffd..f5f816a 100644
--- a/cc1/tests/test014.c
+++ b/cc1/tests/test014.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST014
description: Basic storage class test
diff --git a/cc1/tests/test015.c b/cc1/tests/test015.c
index 60f7159..d87e648 100644
--- a/cc1/tests/test015.c
+++ b/cc1/tests/test015.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST015
description: Stress namespace mechanism
diff --git a/cc1/tests/test016.c b/cc1/tests/test016.c
index 2db68ca..26b9bce 100644
--- a/cc1/tests/test016.c
+++ b/cc1/tests/test016.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST016
description: Basic pointer test
_AT_@ -58,7 +60,7 @@ func1(void)
*p = 0;
if (x)
return 1;
-
+
p = &g;
*p = 0;
if (p == 0)
_AT_@ -72,7 +74,7 @@ func2(void)
int x;
int *p;
int **pp;
-
+
x = 1;
p = &x;
pp = &p;
diff --git a/cc1/tests/test017.c b/cc1/tests/test017.c
index d92e540..1c72baf 100644
--- a/cc1/tests/test017.c
+++ b/cc1/tests/test017.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST017
description: Basic test about pointers and structs
diff --git a/cc1/tests/test018.c b/cc1/tests/test018.c
index 31e88e5..6a5f89e 100644
--- a/cc1/tests/test018.c
+++ b/cc1/tests/test018.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST018
description: Basic test for arrays
diff --git a/cc1/tests/test019.c b/cc1/tests/test019.c
index 7522ae1..5c52cdd 100644
--- a/cc1/tests/test019.c
+++ b/cc1/tests/test019.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST019
diff --git a/cc1/tests/test020.c b/cc1/tests/test020.c
index bca5d02..ff28e8e 100644
--- a/cc1/tests/test020.c
+++ b/cc1/tests/test020.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST020
_AT_@ -60,7 +61,7 @@ main(void)
i = i << 0;
i = 0 << i;
i = i >> 0;
- i = 0 >> i;
+ i = 0 >> i;
i = i + 0;
i = 0 + i;
i = i - 0;
diff --git a/cc1/tests/test021.c b/cc1/tests/test021.c
index 9a5ac52..cda8755 100644
--- a/cc1/tests/test021.c
+++ b/cc1/tests/test021.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST021
diff --git a/cc1/tests/test022.c b/cc1/tests/test022.c
index 7452c8c..928dab4 100644
--- a/cc1/tests/test022.c
+++ b/cc1/tests/test022.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST022
diff --git a/cc1/tests/test023.c b/cc1/tests/test023.c
index f25c0f1..ef502ab 100644
--- a/cc1/tests/test023.c
+++ b/cc1/tests/test023.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST023
diff --git a/cc1/tests/test024.c b/cc1/tests/test024.c
index 339ff66..d49bd2a 100644
--- a/cc1/tests/test024.c
+++ b/cc1/tests/test024.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST024
diff --git a/cc1/tests/test025.c b/cc1/tests/test025.c
index 34f6c4c..35d4220 100644
--- a/cc1/tests/test025.c
+++ b/cc1/tests/test025.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST025
diff --git a/cc1/tests/test026.c b/cc1/tests/test026.c
index d7233e8..04e64b2 100644
--- a/cc1/tests/test026.c
+++ b/cc1/tests/test026.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST026
diff --git a/cc1/tests/test027.c b/cc1/tests/test027.c
index 1d4d776..8294af9 100644
--- a/cc1/tests/test027.c
+++ b/cc1/tests/test027.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST027
diff --git a/cc1/tests/test028.c b/cc1/tests/test028.c
index 91042d5..05cfc48 100644
--- a/cc1/tests/test028.c
+++ b/cc1/tests/test028.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST028
diff --git a/cc1/tests/test029.c b/cc1/tests/test029.c
index b259550..a169d57 100644
--- a/cc1/tests/test029.c
+++ b/cc1/tests/test029.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST029
diff --git a/cc1/tests/test030.c b/cc1/tests/test030.c
index e68eb4a..b09d6bd 100644
--- a/cc1/tests/test030.c
+++ b/cc1/tests/test030.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST030
diff --git a/cc1/tests/test031.c b/cc1/tests/test031.c
index 8b3c9a6..c15d3c6 100644
--- a/cc1/tests/test031.c
+++ b/cc1/tests/test031.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST031
diff --git a/cc1/tests/test032.c b/cc1/tests/test032.c
index 9a7a6f0..7f28d39 100644
--- a/cc1/tests/test032.c
+++ b/cc1/tests/test032.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST032
diff --git a/cc1/tests/test033.c b/cc1/tests/test033.c
index 82a9be3..30e9924 100644
--- a/cc1/tests/test033.c
+++ b/cc1/tests/test033.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST033
description: test for #if defined()
diff --git a/cc1/tests/test034.c b/cc1/tests/test034.c
index 3861dd6..9ac53b6 100644
--- a/cc1/tests/test034.c
+++ b/cc1/tests/test034.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST034
diff --git a/cc1/tests/test035.c b/cc1/tests/test035.c
index 68579c0..1125888 100644
--- a/cc1/tests/test035.c
+++ b/cc1/tests/test035.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST035
diff --git a/cc1/tests/test036.c b/cc1/tests/test036.c
index dfe8268..c6df021 100644
--- a/cc1/tests/test036.c
+++ b/cc1/tests/test036.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST036
diff --git a/cc1/tests/test037.c b/cc1/tests/test037.c
index 3b92c11..880da75 100644
--- a/cc1/tests/test037.c
+++ b/cc1/tests/test037.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST037
diff --git a/cc1/tests/test038.c b/cc1/tests/test038.c
index 410b43f..ffde164 100644
--- a/cc1/tests/test038.c
+++ b/cc1/tests/test038.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST038
diff --git a/cc1/tests/test039.c b/cc1/tests/test039.c
index ee357cd..5224ef9 100644
--- a/cc1/tests/test039.c
+++ b/cc1/tests/test039.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST039
diff --git a/cc1/tests/test040.c b/cc1/tests/test040.c
index 424f376..2c1aae4 100644
--- a/cc1/tests/test040.c
+++ b/cc1/tests/test040.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST040
description: Test for bug parsing typenames in struct definition
diff --git a/cc1/tests/test041.c b/cc1/tests/test041.c
index 7b94ee8..9c188f3 100644
--- a/cc1/tests/test041.c
+++ b/cc1/tests/test041.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST041
description: Test for bug parsing ternary operators
diff --git a/cc1/tests/test042.c b/cc1/tests/test042.c
index 79838d7..91cf811 100644
--- a/cc1/tests/test042.c
+++ b/cc1/tests/test042.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST042
description: Test for bug parsing ternary operators
diff --git a/cc1/tests/test043.c b/cc1/tests/test043.c
index b655da1..1b41f3b 100644
--- a/cc1/tests/test043.c
+++ b/cc1/tests/test043.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST043
description: Test for double typedef (taken from plan9 kernel)
diff --git a/cc1/tests/test044.c b/cc1/tests/test044.c
index 86851cc..2d66159 100644
--- a/cc1/tests/test044.c
+++ b/cc1/tests/test044.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST044
description: Test of corner cases in #if
diff --git a/cc1/tests/test045.c b/cc1/tests/test045.c
index bef5547..058c46f 100644
--- a/cc1/tests/test045.c
+++ b/cc1/tests/test045.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST045
description: Basic test of initializers
diff --git a/cc1/tests/test046.c b/cc1/tests/test046.c
index cc7f859..ba25f2f 100644
--- a/cc1/tests/test046.c
+++ b/cc1/tests/test046.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST046
description: Basic test for initializators
diff --git a/cc1/tests/test047.c b/cc1/tests/test047.c
index 15c4f73..6be3b95 100644
--- a/cc1/tests/test047.c
+++ b/cc1/tests/test047.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST047
description: Basic test for initializer
diff --git a/cc1/tests/test048.c b/cc1/tests/test048.c
index 0054508..b0938ec 100644
--- a/cc1/tests/test048.c
+++ b/cc1/tests/test048.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST048
description: Basic test for initializer
diff --git a/cc1/tests/test049.c b/cc1/tests/test049.c
index cec545d..a0685ef 100644
--- a/cc1/tests/test049.c
+++ b/cc1/tests/test049.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST049
description: Basic test for initializer
diff --git a/cc1/tests/test050.c b/cc1/tests/test050.c
index fee57d8..595a972 100644
--- a/cc1/tests/test050.c
+++ b/cc1/tests/test050.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST050
description: Basic test for initializer
diff --git a/cc1/tests/test051.c b/cc1/tests/test051.c
index 5a32955..7c694ed 100644
--- a/cc1/tests/test051.c
+++ b/cc1/tests/test051.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST051
description: Basic test for initializer
diff --git a/cc1/tests/test052.c b/cc1/tests/test052.c
index 3d99d2d..17a2b80 100644
--- a/cc1/tests/test052.c
+++ b/cc1/tests/test052.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST052
description: Basic test for initializer
diff --git a/cc1/tests/test053.c b/cc1/tests/test053.c
index 0d724a4..a54611d 100644
--- a/cc1/tests/test053.c
+++ b/cc1/tests/test053.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST053
description: Basic test for initializer
diff --git a/cc1/tests/test054.c b/cc1/tests/test054.c
index a914d9f..52c4c13 100644
--- a/cc1/tests/test054.c
+++ b/cc1/tests/test054.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST054
description: Basic test for initializer
diff --git a/cc1/tests/test055.c b/cc1/tests/test055.c
index 5ac9e8d..3b3cbae 100644
--- a/cc1/tests/test055.c
+++ b/cc1/tests/test055.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST055
description: Basic test for initializer
diff --git a/cc1/tests/test056.c b/cc1/tests/test056.c
index 15b73c7..5750a08 100644
--- a/cc1/tests/test056.c
+++ b/cc1/tests/test056.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST056
desciption: Test of overlaying designators
diff --git a/cc1/tests/test057.c b/cc1/tests/test057.c
index f2c3d55..5627615 100644
--- a/cc1/tests/test057.c
+++ b/cc1/tests/test057.c
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/*
name: TEST057
diff --git a/cc1/tests/test058.c b/cc1/tests/test058.c
index cd5248d..fea7152 100644
--- a/cc1/tests/test058.c
+++ b/cc1/tests/test058.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST058
description: Test of initialization mixing designators and sequence
diff --git a/cc1/tests/test059.c b/cc1/tests/test059.c
index 9245105..c3645a9 100644
--- a/cc1/tests/test059.c
+++ b/cc1/tests/test059.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST059
description: Test of initalizers for strings
diff --git a/cc1/tests/test060.c b/cc1/tests/test060.c
index 4cd7727..6d2c963 100644
--- a/cc1/tests/test060.c
+++ b/cc1/tests/test060.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST060
description: Test for correctness of #line
diff --git a/cc1/tests/test061.c b/cc1/tests/test061.c
index c50ab5c..49bedf6 100644
--- a/cc1/tests/test061.c
+++ b/cc1/tests/test061.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST061
description: Test for macros without arguments but with parenthesis
diff --git a/cc1/tests/test062.c b/cc1/tests/test062.c
index 519fe11..035524f 100644
--- a/cc1/tests/test062.c
+++ b/cc1/tests/test062.c
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
name: TEST062
description: Test for hexadecimal numbers in upper and lower case
diff --git a/cc1/tests/update.sh b/cc1/tests/update.sh
index 3dd4e29..6f41f01 100755
--- a/cc1/tests/update.sh
+++ b/cc1/tests/update.sh
_AT_@ -1,4 +1,5 @@
#!/bin/sh
+# See LICENSE file for copyright and license details.
out=/tmp/$$.out
err=/tmp/$$.err
diff --git a/cc1/types.c b/cc1/types.c
index 4109052..68f4bbe 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/Makefile b/cc2/Makefile
index 6b87ba9..c56b70d 100644
--- a/cc2/Makefile
+++ b/cc2/Makefile
_AT_@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk
diff --git a/cc2/arch/amd64-sysv/arch.h b/cc2/arch/amd64-sysv/arch.h
index 439e3b7..9cf5fb6 100644
--- a/cc2/arch/amd64-sysv/arch.h
+++ b/cc2/arch/amd64-sysv/arch.h
_AT_@ -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
-
diff --git a/cc2/arch/amd64-sysv/cgen.c b/cc2/arch/amd64-sysv/cgen.c
index 191ed06..1fbb340 100644
--- a/cc2/arch/amd64-sysv/cgen.c
+++ b/cc2/arch/amd64-sysv/cgen.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/amd64-sysv/code.c b/cc2/arch/amd64-sysv/code.c
index af87017..f597cc4 100644
--- a/cc2/arch/amd64-sysv/code.c
+++ b/cc2/arch/amd64-sysv/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/arch/amd64-sysv/optm.c b/cc2/arch/amd64-sysv/optm.c
index 3658917..2500fff 100644
--- a/cc2/arch/amd64-sysv/optm.c
+++ b/cc2/arch/amd64-sysv/optm.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/amd64-sysv/types.c b/cc2/arch/amd64-sysv/types.c
index a6fab5b..6c61bed 100644
--- a/cc2/arch/amd64-sysv/types.c
+++ b/cc2/arch/amd64-sysv/types.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/i386-sysv/arch.h b/cc2/arch/i386-sysv/arch.h
index 439e3b7..9cf5fb6 100644
--- a/cc2/arch/i386-sysv/arch.h
+++ b/cc2/arch/i386-sysv/arch.h
_AT_@ -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
-
diff --git a/cc2/arch/i386-sysv/cgen.c b/cc2/arch/i386-sysv/cgen.c
index 191ed06..1fbb340 100644
--- a/cc2/arch/i386-sysv/cgen.c
+++ b/cc2/arch/i386-sysv/cgen.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/i386-sysv/code.c b/cc2/arch/i386-sysv/code.c
index 850779f..152e7ee 100644
--- a/cc2/arch/i386-sysv/code.c
+++ b/cc2/arch/i386-sysv/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/arch/i386-sysv/optm.c b/cc2/arch/i386-sysv/optm.c
index 3658917..2500fff 100644
--- a/cc2/arch/i386-sysv/optm.c
+++ b/cc2/arch/i386-sysv/optm.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/i386-sysv/types.c b/cc2/arch/i386-sysv/types.c
index c032e2d..969a2ee 100644
--- a/cc2/arch/i386-sysv/types.c
+++ b/cc2/arch/i386-sysv/types.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/qbe/arch.h b/cc2/arch/qbe/arch.h
index e046597..d83ecbd 100644
--- a/cc2/arch/qbe/arch.h
+++ b/cc2/arch/qbe/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define TINT long long
#define TUINT unsigned long long
#define TFLOAT double
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index bd26643..b63036a 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <assert.h>
#include <stdlib.h>
diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c
index 5c88ce1..9d5e8c9 100644
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cc2/arch/qbe/optm.c b/cc2/arch/qbe/optm.c
index a1b74b7..ed96e58 100644
--- a/cc2/arch/qbe/optm.c
+++ b/cc2/arch/qbe/optm.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include "arch.h"
diff --git a/cc2/arch/qbe/types.c b/cc2/arch/qbe/types.c
index a6fab5b..6c61bed 100644
--- a/cc2/arch/qbe/types.c
+++ b/cc2/arch/qbe/types.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/z80/arch.h b/cc2/arch/z80/arch.h
index d685a11..0a3895e 100644
--- a/cc2/arch/z80/arch.h
+++ b/cc2/arch/z80/arch.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define TINT long long
#define TUINT unsigned long long
#define TFLOAT double
diff --git a/cc2/arch/z80/cgen.c b/cc2/arch/z80/cgen.c
index 4fcd2df..016e456 100644
--- a/cc2/arch/z80/cgen.c
+++ b/cc2/arch/z80/cgen.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/z80/code.c b/cc2/arch/z80/code.c
index 594bd4d..71fcab5 100644
--- a/cc2/arch/z80/code.c
+++ b/cc2/arch/z80/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/arch/z80/optm.c b/cc2/arch/z80/optm.c
index 3658917..2500fff 100644
--- a/cc2/arch/z80/optm.c
+++ b/cc2/arch/z80/optm.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/arch/z80/types.c b/cc2/arch/z80/types.c
index bf88a2c..aeca21f 100644
--- a/cc2/arch/z80/types.c
+++ b/cc2/arch/z80/types.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "../../cc2.h"
diff --git a/cc2/cc2.h b/cc2/cc2.h
index b73a6da..5bc2f41 100644
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
enum tflags {
SIGNF = 1,
INTF = 2,
diff --git a/cc2/code.c b/cc2/code.c
index 7132291..40be482 100644
--- a/cc2/code.c
+++ b/cc2/code.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdlib.h>
#include "arch.h"
diff --git a/cc2/generror b/cc2/generror
index d618a0c..797fb55 100755
--- a/cc2/generror
+++ b/cc2/generror
_AT_@ -1,4 +1,4 @@
-
+# See LICENSE file for copyright and license details.
BEGIN {
print "char *errlist[] = {"
}
diff --git a/cc2/main.c b/cc2/main.c
index e9848c6..98791be 100644
--- a/cc2/main.c
+++ b/cc2/main.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/node.c b/cc2/node.c
index 8c7e024..8299431 100644
--- a/cc2/node.c
+++ b/cc2/node.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <stdlib.h>
#include <string.h>
diff --git a/cc2/parser.c b/cc2/parser.c
index 2ba511e..18d301f 100644
--- a/cc2/parser.c
+++ b/cc2/parser.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cc2/peep.c b/cc2/peep.c
index cc05aee..5190ec0 100644
--- a/cc2/peep.c
+++ b/cc2/peep.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include "arch.h"
#include "cc2.h"
diff --git a/cc2/symbol.c b/cc2/symbol.c
index c4fa4f8..271883b 100644
--- a/cc2/symbol.c
+++ b/cc2/symbol.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/driver/posix/Makefile b/driver/posix/Makefile
index ea179a9..d17adbf 100644
--- a/driver/posix/Makefile
+++ b/driver/posix/Makefile
_AT_@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
.POSIX:
include ../../config.mk
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 657c313..6fc22f1 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#define _POSIX_SOURCE
#include <sys/types.h>
#include <sys/wait.h>
diff --git a/inc/cc.h b/inc/cc.h
index 3f15316..bbc6389 100644
--- a/inc/cc.h
+++ b/inc/cc.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#ifndef __bool_true_and_false_defined
#ifdef NBOOL
typedef unsigned bool;
diff --git a/inc/sizes_c89.h b/inc/sizes_c89.h
index d78c51f..0dee257 100644
--- a/inc/sizes_c89.h
+++ b/inc/sizes_c89.h
_AT_@ -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
diff --git a/inc/sizes_c99.h b/inc/sizes_c99.h
index 1a92966..ff6376a 100644
--- a/inc/sizes_c99.h
+++ b/inc/sizes_c99.h
_AT_@ -1,3 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+
/*
* 127 nesting levels of blocks
*/
diff --git a/libc/include/z80/assert.h b/libc/include/z80/assert.h
index c63dd2f..339c7aa 100644
--- a/libc/include/z80/assert.h
+++ b/libc/include/z80/assert.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#ifndef _ASSERT_H
#define _ASSERT_H
diff --git a/libc/include/z80/ctype.h b/libc/include/z80/ctype.h
index a7d4a2d..5f18d76 100644
--- a/libc/include/z80/ctype.h
+++ b/libc/include/z80/ctype.h
_AT_@ -1,4 +1,4 @@
-
+/* See LICENSE file for copyright and license details. */
#ifndef _CTYPE_H
#define _CTYPE_H
_AT_@ -17,4 +17,4 @@ int ispunct(int c);
int tolower(int c);
int toupper(int c);
-#endif
\ No newline at end of file
+#endif
diff --git a/libc/include/z80/errno.h b/libc/include/z80/errno.h
index 3c043f9..ffb42ca 100644
--- a/libc/include/z80/errno.h
+++ b/libc/include/z80/errno.h
_AT_@ -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
diff --git a/libc/include/z80/signal.h b/libc/include/z80/signal.h
index 1250b15..24735f2 100644
--- a/libc/include/z80/signal.h
+++ b/libc/include/z80/signal.h
_AT_@ -1,7 +1,8 @@
+/* See LICENSE file for copyright and license details. */
#ifndef _SIGNAL_H
#define _SIGNAL_H
void ( *signal(int signum, void (*handler)(int)) ) (int);
int raise(int sig);
-#endif
\ No newline at end of file
+#endif
diff --git a/libc/include/z80/stdio.h b/libc/include/z80/stdio.h
index 8c37297..d5463a0 100644
--- a/libc/include/z80/stdio.h
+++ b/libc/include/z80/stdio.h
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
#ifndef _STDIO_H
#define _STDIO_H
diff --git a/libc/include/z80/stdlib.h b/libc/include/z80/stdlib.h
index c0f7c73..f135694 100644
--- a/libc/include/z80/stdlib.h
+++ b/libc/include/z80/stdlib.h
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
#ifndef _STDLIB_H
#define _STDLIB_H
diff --git a/libc/include/z80/string.h b/libc/include/z80/string.h
index d912e5d..5bbac19 100644
--- a/libc/include/z80/string.h
+++ b/libc/include/z80/string.h
_AT_@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
#ifndef _STRING_H
#define _STRING_H
Received on Tue May 17 2016 - 21:36:26 CEST
This archive was generated by hypermail 2.3.0
: Tue May 17 2016 - 21:48:20 CEST