scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit aec9716e90c2ff2e6c1e2b6c666160e8c99ca683
parent d165456a0232fb18826b005057dec01b00a77926
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 29 Aug 2017 15:34:40 +0100

Remove header comments about the license

The LICENSE file applies to all the files of the projects. Do not put
the comment in every file of the repository.

Also remove some newline at the start of files.

Diffstat:
MMakefile | 1-
MREADME | 1-
Mcc1/Makefile | 1-
Mcc1/builtin.c | 1-
Mcc1/cc1.h | 2--
Mcc1/code.c | 1-
Mcc1/cpp.c | 1-
Mcc1/decl.c | 1-
Mcc1/error.c | 1-
Mcc1/expr.c | 1-
Mcc1/fold.c | 1-
Mcc1/init.c | 1-
Mcc1/lex.c | 1-
Mcc1/main.c | 1-
Mcc1/stallman.msg | 1-
Mcc1/stmt.c | 1-
Mcc1/symbol.c | 1-
Mcc1/target/amd64-sysv/arch.c | 1-
Mcc1/target/i386-sysv/arch.c | 1-
Mcc1/target/z80-scc/arch.c | 1-
Mcc1/types.c | 1-
Mcc2/Makefile | 1-
Mcc2/cc2.h | 2--
Mcc2/code.c | 1-
Mcc2/generror.awk | 1-
Mcc2/main.c | 1-
Mcc2/node.c | 1-
Mcc2/optm.c | 1-
Mcc2/parser.c | 1-
Mcc2/peep.c | 1-
Mcc2/symbol.c | 1-
Mcc2/target/amd64-sysv/arch.h | 1-
Mcc2/target/amd64-sysv/cgen.c | 1-
Mcc2/target/amd64-sysv/code.c | 1-
Mcc2/target/amd64-sysv/optm.c | 1-
Mcc2/target/amd64-sysv/target.mk | 1-
Mcc2/target/amd64-sysv/types.c | 1-
Mcc2/target/i386-sysv/arch.h | 1-
Mcc2/target/i386-sysv/cgen.c | 1-
Mcc2/target/i386-sysv/code.c | 1-
Mcc2/target/i386-sysv/optm.c | 1-
Mcc2/target/i386-sysv/target.mk | 1-
Mcc2/target/i386-sysv/types.c | 1-
Mcc2/target/qbe/arch.h | 2--
Mcc2/target/qbe/cgen.c | 1-
Mcc2/target/qbe/code.c | 1-
Mcc2/target/qbe/optm.c | 1-
Mcc2/target/qbe_amd64-sysv/target.mk | 1-
Mcc2/target/qbe_arm64-sysv/target.mk | 1-
Mcc2/target/z80-scc/arch.h | 1-
Mcc2/target/z80-scc/cgen.c | 1-
Mcc2/target/z80-scc/code.c | 1-
Mcc2/target/z80-scc/optm.c | 1-
Mcc2/target/z80-scc/target.mk | 1-
Mcc2/target/z80-scc/types.c | 1-
Mdriver/Makefile | 1-
Mdriver/posix/Makefile | 1-
Mdriver/posix/scc.c | 1-
Minc/Makefile | 1-
Minc/c89/cstd.h | 2--
Minc/c99/cstd.h | 2--
Minc/scc.h | 1-
Mlib/Makefile | 1-
Mlib/c/Makefile | 1-
Mlib/c/amd64-sysv-linux/Makefile | 1-
Mlib/c/common.mk | 2--
Mlib/c/include/assert.h | 1-
Mlib/c/include/bits/amd64-sysv/arch/signal.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/stddef.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/stdint.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/stdio.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/stdlib.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/string.h | 2--
Mlib/c/include/bits/amd64-sysv/arch/time.h | 2--
Mlib/c/include/bits/i386-sysv/arch/signal.h | 2--
Mlib/c/include/bits/i386-sysv/arch/stddef.h | 2--
Mlib/c/include/bits/i386-sysv/arch/stdint.h | 2--
Mlib/c/include/bits/i386-sysv/arch/stdio.h | 2--
Mlib/c/include/bits/i386-sysv/arch/stdlib.h | 2--
Mlib/c/include/bits/i386-sysv/arch/string.h | 2--
Mlib/c/include/bits/i386-sysv/arch/time.h | 2--
Mlib/c/include/bits/z80-dos/arch/signal.h | 2--
Mlib/c/include/bits/z80-dos/arch/stddef.h | 2--
Mlib/c/include/bits/z80-dos/arch/stdint.h | 2--
Mlib/c/include/bits/z80-dos/arch/stdio.h | 2--
Mlib/c/include/bits/z80-dos/arch/stdlib.h | 2--
Mlib/c/include/bits/z80-dos/arch/string.h | 2--
Mlib/c/include/bits/z80-dos/arch/time.h | 2--
Mlib/c/include/ctype.h | 1-
Mlib/c/include/errno.h | 1-
Mlib/c/include/signal.h | 1-
Mlib/c/include/stdarg.h | 1-
Mlib/c/include/stdbool.h | 1-
Mlib/c/include/stddef.h | 1-
Mlib/c/include/stdint.h | 1-
Mlib/c/include/stdio.h | 1-
Mlib/c/include/stdlib.h | 1-
Mlib/c/include/string.h | 1-
Mlib/c/src/Makefile | 1-
Mlib/c/src/assert.c | 2--
Mlib/c/src/atexit.c | 2--
Mlib/c/src/atoi.c | 2--
Mlib/c/src/calloc.c | 2--
Mlib/c/src/ctype.c | 2--
Mlib/c/src/exit.c | 2--
Mlib/c/src/fprintf.c | 2--
Mlib/c/src/isalnum.c | 2--
Mlib/c/src/isalpha.c | 2--
Mlib/c/src/isascii.c | 2--
Mlib/c/src/isblank.c | 2--
Mlib/c/src/iscntrl.c | 2--
Mlib/c/src/isdigit.c | 2--
Mlib/c/src/isgraph.c | 2--
Mlib/c/src/islower.c | 2--
Mlib/c/src/isprint.c | 2--
Mlib/c/src/ispunct.c | 2--
Mlib/c/src/isspace.c | 2--
Mlib/c/src/isupper.c | 2--
Mlib/c/src/isxdigit.c | 2--
Mlib/c/src/malloc.c | 2--
Mlib/c/src/malloc.h | 2--
Mlib/c/src/memchr.c | 2--
Mlib/c/src/memcmp.c | 2--
Mlib/c/src/memcpy.c | 2--
Mlib/c/src/memmove.c | 2--
Mlib/c/src/memset.c | 2--
Mlib/c/src/printf.c | 2--
Mlib/c/src/rand.c | 2--
Mlib/c/src/realloc.c | 2--
Mlib/c/src/setlocale.c | 2--
Mlib/c/src/strcat.c | 2--
Mlib/c/src/strchr.c | 2--
Mlib/c/src/strcmp.c | 2--
Mlib/c/src/strcoll.c | 2--
Mlib/c/src/strcpy.c | 2--
Mlib/c/src/strcspn.c | 2--
Mlib/c/src/strlen.c | 2--
Mlib/c/src/strncat.c | 2--
Mlib/c/src/strncmp.c | 2--
Mlib/c/src/strncpy.c | 2--
Mlib/c/src/strpbrk.c | 2--
Mlib/c/src/strrchr.c | 2--
Mlib/c/src/strspn.c | 2--
Mlib/c/src/strstr.c | 2--
Mlib/c/src/strtok.c | 2--
Mlib/c/src/strxfrm.c | 2--
Mlib/c/src/syscall.h | 2--
Mlib/c/src/tolower.c | 2--
Mlib/c/src/toupper.c | 2--
Mlib/c/src/vfprintf.c | 2--
Mlib/scc/Makefile | 1-
Mlib/scc/debug.c | 1-
Mlib/scc/die.c | 1-
Mlib/scc/libdep.mk | 1-
Mlib/scc/xcalloc.c | 1-
Mlib/scc/xmalloc.c | 1-
Mlib/scc/xrealloc.c | 1-
Mlib/scc/xstrdup.c | 1-
Mlib/sys/Makefile | 1-
Mlib/sys/amd64-sysv-linux/Makefile | 1-
Mlib/sys/common.mk | 1-
Mlib/sys/i386-sysv-linux/Makefile | 1-
Mlib/sys/libsys.mk | 1-
Mlib/sys/qbe-linux/Makefile | 1-
Mlib/sys/z80-linux/Makefile | 1-
Mtests/error/0023-include.c | 1-
Mtests/error/update.sh | 1-
Mtests/execute/0001-sanity.c | 1-
Mtests/execute/0002-expr.c | 1-
Mtests/execute/0003-local.c | 2--
Mtests/execute/0004-pointer.c | 2--
Mtests/execute/0005-ifstmt.c | 1-
Mtests/execute/0006-whilestmt.c | 1-
Mtests/execute/0007-forstmt.c | 1-
Mtests/execute/0008-dowhilestmt.c | 1-
Mtests/execute/0009-expr.c | 1-
Mtests/execute/0011-assign.c | 1-
Mtests/execute/0012-expr.c | 1-
Mtests/execute/0013-addridx.c | 1-
Mtests/execute/0014-assignidx.c | 1-
Mtests/execute/0015-localarray.c | 1-
Mtests/execute/0017-struct.c | 2--
Mtests/execute/0018-structptr.c | 2--
Mtests/execute/0019-selfrefstruct.c | 1-
Mtests/execute/0020-ptrptr.c | 1-
Mtests/execute/0021-intfunc.c | 1-
Mtests/execute/0022-typedef.c | 1-
Mtests/execute/0023-global.c | 1-
Mtests/execute/0024-typedefstruct.c | 1-
Mtests/execute/0025-string.c | 1-
Mtests/execute/0026-implicitret.c | 1-
Mtests/execute/0027-charval.c | 1-
Mtests/execute/0028-bor.c | 1-
Mtests/execute/0029-band.c | 1-
Mtests/execute/0030-bxor.c | 1-
Mtests/execute/0031-relop.c | 1-
Mtests/execute/0032-indec.c | 1-
Mtests/execute/0033-ptrindec.c | 2--
Mtests/execute/0034-logandor.c | 1-
Mtests/execute/0035-breakcont.c | 1-
Mtests/execute/0037-assignop.c | 1-
Mtests/execute/0040-cast.c | 1-
Mtests/execute/0041-queen.c | 1-
Mtests/execute/0042-prime.c | 1-
Mtests/execute/0043-union.c | 3---
Mtests/execute/0046-inits.c | 1-
Mtests/execute/0047-anonexport.c | 1-
Mtests/execute/0048-inits.c | 1-
Mtests/execute/0049-inits.c | 2--
Mtests/execute/0050-inits.c | 2--
Mtests/execute/0051-inits.c | 1-
Mtests/execute/0053-struct.c | 1-
Mtests/execute/0054-struct.c | 1-
Mtests/execute/0055-enum.c | 1-
Mtests/execute/0056-enum.c | 1-
Mtests/execute/0057-duff.c | 1-
Mtests/execute/0058-bug.c | 1-
Mtests/execute/0059-multistring.c | 3---
Mtests/execute/0060-charlit.c | 1-
Mtests/execute/0065-ifdef.c | 1-
Mtests/execute/0070-cppif.c | 1-
Mtests/execute/0071-cppelif.c | 1-
Mtests/execute/0072-cppelif.c | 1-
Mtests/execute/0073-ifndef.c | 2--
Mtests/execute/0074-undef.c | 1-
Mtests/execute/0075-ptraddasn.c | 1-
Mtests/execute/0076-ptrsubasn.c | 1-
Mtests/execute/0077-defined.c | 1-
Mtests/execute/0078-dirifexpr.c | 1-
Mtests/execute/0079-cond.c | 1-
Mtests/execute/0080-arrays.c | 1-
Mtests/execute/0081-calls.c | 1-
Mtests/execute/0083-voidret.c | 1-
Mtests/execute/0084-longlong.c | 1-
Mtests/execute/0085-ulonglong.c | 1-
Mtests/execute/0089-short.c | 1-
Mtests/execute/0090-fptr.c | 1-
Mtests/execute/0091-fptr.c | 1-
Mtests/execute/0092-fptr.c | 1-
Mtests/execute/0093-arrayinit.c | 1-
Mtests/execute/0094-arrayinit.c | 1-
Mtests/execute/0095-arrayselector.c | 4----
Mtests/execute/0096-inferredarraysize.c | 2--
Mtests/execute/0098-tentative.c | 1-
Mtests/execute/0099-tentative.c | 1-
Mtests/execute/0100-redeclaremacro.c | 1-
Mtests/execute/0101-wcharlit.c | 1-
Mtests/execute/0103-voidparm.c | 1-
Mtests/execute/0104-qbebug.c | 1-
Mtests/execute/0105-shl.c | 1-
Mtests/execute/0106-ppcast.c | 1-
Mtests/execute/0107-bnot.c | 1-
Mtests/execute/0108-bug.c | 2--
Mtests/execute/0114-shortassig.c | 1-
Mtests/execute/0116-floatcmp.c | 1-
Mtests/execute/0118-voidmain.c | 1-
Mtests/execute/0119-macrostr.c | 1-
Mtests/execute/0120-funpar.c | 1-
Mtests/execute/0125-fundcl.c | 1-
Mtests/execute/0129-initi.c | 1-
Mtests/execute/0130-mulpars.c | 1-
Mtests/execute/0134-arith.c | 1-
Mtests/execute/0137-int-cast.c | 2--
Mtests/execute/0142-char-const.c | 1-
Mtests/execute/sysinclude/0064-sysinclude2.h | 1-
265 files changed, 0 insertions(+), 361 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,4 @@ # scc - Suckless C Compiler -# See LICENSE file for copyright and license details. .POSIX: include config.mk diff --git a/README b/README @@ -1,4 +1,3 @@ - Derivations from standard C =========================== This compiler is aimed to be being fully compatible with the C99 standard, but diff --git a/cc1/Makefile b/cc1/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: # Makefile is only used as a template for makefile. diff --git a/cc1/builtin.c b/cc1/builtin.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/builtin.c"; #include <stdio.h> diff --git a/cc1/cc1.h b/cc1/cc1.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define INPUTSIZ LINESIZ #define GLOBALCTX 0 diff --git a/cc1/code.c b/cc1/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/code.c"; #include <ctype.h> #include <stdio.h> diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/cpp.c"; #include <ctype.h> #include <limits.h> diff --git a/cc1/decl.c b/cc1/decl.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/decl.c"; #include <stdarg.h> #include <stdio.h> diff --git a/cc1/error.c b/cc1/error.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/error.c"; #include <stdarg.h> #include <stdio.h> diff --git a/cc1/expr.c b/cc1/expr.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/expr.c"; #include <assert.h> #include <stdio.h> diff --git a/cc1/fold.c b/cc1/fold.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/fold.c"; #include <assert.h> #include <stdio.h> diff --git a/cc1/init.c b/cc1/init.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/init.c"; #include <stdint.h> #include <stdio.h> diff --git a/cc1/lex.c b/cc1/lex.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/lex.c"; #include <assert.h> #include <ctype.h> diff --git a/cc1/main.c b/cc1/main.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/main.c"; #include <setjmp.h> #include <stdio.h> diff --git a/cc1/stallman.msg b/cc1/stallman.msg @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ 0x0a, 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20, 0x74, 0x20, 0x73, 0x20, 0x65, 0x20, 0x78, 0x20, 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20, diff --git a/cc1/stmt.c b/cc1/stmt.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/stmt.c"; #include <stddef.h> #include <setjmp.h> diff --git a/cc1/symbol.c b/cc1/symbol.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/symbol.c"; #include <assert.h> #include <limits.h> diff --git a/cc1/target/amd64-sysv/arch.c b/cc1/target/amd64-sysv/arch.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/arch/amd64-sysv/arch.c"; #include <stdio.h> diff --git a/cc1/target/i386-sysv/arch.c b/cc1/target/i386-sysv/arch.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/arch/i386-sysv/arch.c"; #include <stdio.h> diff --git a/cc1/target/z80-scc/arch.c b/cc1/target/z80-scc/arch.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/arch/z80/arch.c"; #include <stdio.h> diff --git a/cc1/types.c b/cc1/types.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc1/types.c"; #include <assert.h> #include <inttypes.h> diff --git a/cc2/Makefile b/cc2/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: # Makefile is only used as a template for makefile. diff --git a/cc2/cc2.h b/cc2/cc2.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - enum iflags { BBENTRY = 1, /* basic block entry */ }; diff --git a/cc2/code.c b/cc2/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/code.c"; #include <stdlib.h> #include <string.h> diff --git a/cc2/generror.awk b/cc2/generror.awk @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. BEGIN { print "char *errlist[] = {" } diff --git a/cc2/main.c b/cc2/main.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/main.c"; #include <stdarg.h> #include <stdio.h> diff --git a/cc2/node.c b/cc2/node.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/node.c"; #include <stdlib.h> #include <string.h> diff --git a/cc2/optm.c b/cc2/optm.c @@ -1,4 +1,3 @@ - #include "../inc/scc.h" #include "cc2.h" diff --git a/cc2/parser.c b/cc2/parser.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/parser.c"; #include <errno.h> #include <stdio.h> diff --git a/cc2/peep.c b/cc2/peep.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/peep.c"; #include "../inc/scc.h" #include "cc2.h" diff --git a/cc2/symbol.c b/cc2/symbol.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/symbol.c"; #include <limits.h> #include <stdio.h> diff --git a/cc2/target/amd64-sysv/arch.h b/cc2/target/amd64-sysv/arch.h @@ -1 +0,0 @@ -/* See LICENSE file for copyright and license details. */ diff --git a/cc2/target/amd64-sysv/cgen.c b/cc2/target/amd64-sysv/cgen.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/amd64-sysv/cgen.c"; #include "arch.h" diff --git a/cc2/target/amd64-sysv/code.c b/cc2/target/amd64-sysv/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/amd64-sysv/code.c"; #include <stdio.h> diff --git a/cc2/target/amd64-sysv/optm.c b/cc2/target/amd64-sysv/optm.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/amd64-sysv/optm.c"; #include "../../../inc/scc.h" diff --git a/cc2/target/amd64-sysv/target.mk b/cc2/target/amd64-sysv/target.mk @@ -1,4 +1,3 @@ - OBJ-amd64-sysv = $(OBJ) \ target/amd64-sysv/cgen.o \ target/amd64-sysv/optm.o \ diff --git a/cc2/target/amd64-sysv/types.c b/cc2/target/amd64-sysv/types.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/amd64-sysv/types.c"; #include "../../../inc/scc.h" diff --git a/cc2/target/i386-sysv/arch.h b/cc2/target/i386-sysv/arch.h @@ -1 +0,0 @@ -/* See LICENSE file for copyright and license details. */ diff --git a/cc2/target/i386-sysv/cgen.c b/cc2/target/i386-sysv/cgen.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/i386-sysv/cgen.c"; #include "arch.h" diff --git a/cc2/target/i386-sysv/code.c b/cc2/target/i386-sysv/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/i386-sysv/code.c"; #include <stdio.h> #include <stdlib.h> diff --git a/cc2/target/i386-sysv/optm.c b/cc2/target/i386-sysv/optm.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/i386-sysv/optm.c"; #include "../../../inc/scc.h" diff --git a/cc2/target/i386-sysv/target.mk b/cc2/target/i386-sysv/target.mk @@ -1,4 +1,3 @@ - OBJ-i386-sysv = $(OBJ) \ target/i386-sysv/cgen.o \ target/i386-sysv/optm.o \ diff --git a/cc2/target/i386-sysv/types.c b/cc2/target/i386-sysv/types.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/i386-sysv/types.c"; #include "../../../inc/scc.h" diff --git a/cc2/target/qbe/arch.h b/cc2/target/qbe/arch.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - enum asmop { ASNOP = 0, ASSTB, diff --git a/cc2/target/qbe/cgen.c b/cc2/target/qbe/cgen.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/qbe/cgen.c"; #include <assert.h> diff --git a/cc2/target/qbe/code.c b/cc2/target/qbe/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/qbe/code.c"; #include <stdio.h> diff --git a/cc2/target/qbe/optm.c b/cc2/target/qbe/optm.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/qbe/optm.c"; #include <stddef.h> diff --git a/cc2/target/qbe_amd64-sysv/target.mk b/cc2/target/qbe_amd64-sysv/target.mk @@ -1,4 +1,3 @@ - OBJ-qbe_amd64-sysv = $(OBJ) \ target/qbe/cgen.o \ target/qbe/optm.o \ diff --git a/cc2/target/qbe_arm64-sysv/target.mk b/cc2/target/qbe_arm64-sysv/target.mk @@ -1,4 +1,3 @@ - OBJ-qbe_amd64-sysv = $(OBJ) \ target/qbe/cgen.o \ target/qbe/optm.o \ diff --git a/cc2/target/z80-scc/arch.h b/cc2/target/z80-scc/arch.h @@ -1 +0,0 @@ -/* See LICENSE file for copyright and license details. */ diff --git a/cc2/target/z80-scc/cgen.c b/cc2/target/z80-scc/cgen.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/z80/cgen.c"; #include "arch.h" diff --git a/cc2/target/z80-scc/code.c b/cc2/target/z80-scc/code.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/z80/code.c"; #include <stdio.h> diff --git a/cc2/target/z80-scc/optm.c b/cc2/target/z80-scc/optm.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/z80/optm.c"; #include "../../../inc/scc.h" diff --git a/cc2/target/z80-scc/target.mk b/cc2/target/z80-scc/target.mk @@ -1,4 +1,3 @@ - OBJ-z80-scc = $(OBJ) \ target/z80-scc/cgen.o \ target/z80-scc/optm.o \ diff --git a/cc2/target/z80-scc/types.c b/cc2/target/z80-scc/types.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./cc2/arch/z80/types.c"; #include "../../../inc/scc.h" diff --git a/driver/Makefile b/driver/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../config.mk diff --git a/driver/posix/Makefile b/driver/posix/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: LIBDIR = ../../lib/scc diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./driver/posix/scc.c"; #define _POSIX_SOURCE #define _XOPEN_SOURCE 500 diff --git a/inc/Makefile b/inc/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../config.mk diff --git a/inc/c89/cstd.h b/inc/c89/cstd.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define STDC_VERSION "199409L" /* Translation limits */ diff --git a/inc/c99/cstd.h b/inc/c99/cstd.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define STDC_VERSION "199901L" /* Translation limits */ diff --git a/inc/scc.h b/inc/scc.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #include <stddef.h> extern int debug; diff --git a/lib/Makefile b/lib/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../config.mk diff --git a/lib/c/Makefile b/lib/c/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../config.mk diff --git a/lib/c/amd64-sysv-linux/Makefile b/lib/c/amd64-sysv-linux/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../../config.mk diff --git a/lib/c/common.mk b/lib/c/common.mk @@ -1,5 +1,3 @@ -# See LICENSE file for copyright and license details. - SRC=$(OBJ:.o=.c) all: libc.a diff --git a/lib/c/include/assert.h b/lib/c/include/assert.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _ASSERT_H #define _ASSERT_H diff --git a/lib/c/include/bits/amd64-sysv/arch/signal.h b/lib/c/include/bits/amd64-sysv/arch/signal.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - typedef int sig_atomic_t; #define SIG_ERR -1 diff --git a/lib/c/include/bits/amd64-sysv/arch/stddef.h b/lib/c/include/bits/amd64-sysv/arch/stddef.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/amd64-sysv/arch/stdint.h b/lib/c/include/bits/amd64-sysv/arch/stdint.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define INT8_MAX 0x7F #define INT8_MIN (-INT8_MAX-1) #define UINT8_MAX 0xFF diff --git a/lib/c/include/bits/amd64-sysv/arch/stdio.h b/lib/c/include/bits/amd64-sysv/arch/stdio.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/amd64-sysv/arch/stdlib.h b/lib/c/include/bits/amd64-sysv/arch/stdlib.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/amd64-sysv/arch/string.h b/lib/c/include/bits/amd64-sysv/arch/string.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #endif diff --git a/lib/c/include/bits/amd64-sysv/arch/time.h b/lib/c/include/bits/amd64-sysv/arch/time.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/i386-sysv/arch/signal.h b/lib/c/include/bits/i386-sysv/arch/signal.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - typedef int sig_atomic_t; #define SIG_ERR -1 diff --git a/lib/c/include/bits/i386-sysv/arch/stddef.h b/lib/c/include/bits/i386-sysv/arch/stddef.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/i386-sysv/arch/stdint.h b/lib/c/include/bits/i386-sysv/arch/stdint.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define INT8_MAX 0x7F #define INT8_MIN (-INT8_MAX-1) #define UINT8_MAX 0xFF diff --git a/lib/c/include/bits/i386-sysv/arch/stdio.h b/lib/c/include/bits/i386-sysv/arch/stdio.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/i386-sysv/arch/stdlib.h b/lib/c/include/bits/i386-sysv/arch/stdlib.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/i386-sysv/arch/string.h b/lib/c/include/bits/i386-sysv/arch/string.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #endif diff --git a/lib/c/include/bits/i386-sysv/arch/time.h b/lib/c/include/bits/i386-sysv/arch/time.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned long size_t; #define _SIZET diff --git a/lib/c/include/bits/z80-dos/arch/signal.h b/lib/c/include/bits/z80-dos/arch/signal.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - typedef char sig_atomic_t; #define SIG_ERR -1 diff --git a/lib/c/include/bits/z80-dos/arch/stddef.h b/lib/c/include/bits/z80-dos/arch/stddef.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned size_t; #define _SIZET diff --git a/lib/c/include/bits/z80-dos/arch/stdint.h b/lib/c/include/bits/z80-dos/arch/stdint.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define INT8_MAX 0x7F #define INT8_MIN (-INT8_MAX-1) #define UINT8_MAX 0xFF diff --git a/lib/c/include/bits/z80-dos/arch/stdio.h b/lib/c/include/bits/z80-dos/arch/stdio.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned size_t; #define _SIZET diff --git a/lib/c/include/bits/z80-dos/arch/stdlib.h b/lib/c/include/bits/z80-dos/arch/stdlib.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned size_t; #define _SIZET diff --git a/lib/c/include/bits/z80-dos/arch/string.h b/lib/c/include/bits/z80-dos/arch/string.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned size_t; #endif diff --git a/lib/c/include/bits/z80-dos/arch/time.h b/lib/c/include/bits/z80-dos/arch/time.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #ifndef _SIZET typedef unsigned size_t; #define _SIZET diff --git a/lib/c/include/ctype.h b/lib/c/include/ctype.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _CTYPE_H #define _CTYPE_H diff --git a/lib/c/include/errno.h b/lib/c/include/errno.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _ERRNO_H #define _ERRNO_H diff --git a/lib/c/include/signal.h b/lib/c/include/signal.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _SIGNAL_H #define _SIGNAL_H diff --git a/lib/c/include/stdarg.h b/lib/c/include/stdarg.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDARG_H #define _STDARG_H diff --git a/lib/c/include/stdbool.h b/lib/c/include/stdbool.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDBOOL_H #define _STDBOOL_H diff --git a/lib/c/include/stddef.h b/lib/c/include/stddef.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDDEF_H #define _STDDEF_H diff --git a/lib/c/include/stdint.h b/lib/c/include/stdint.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDINT_H_ #define _STDINT_H_ diff --git a/lib/c/include/stdio.h b/lib/c/include/stdio.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDIO_H #define _STDIO_H diff --git a/lib/c/include/stdlib.h b/lib/c/include/stdlib.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STDLIB_H #define _STDLIB_H diff --git a/lib/c/include/string.h b/lib/c/include/string.h @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ #ifndef _STRING_H #define _STRING_H diff --git a/lib/c/src/Makefile b/lib/c/src/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../../config.mk diff --git a/lib/c/src/assert.c b/lib/c/src/assert.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <assert.h> #include <stdlib.h> #include <stdio.h> diff --git a/lib/c/src/atexit.c b/lib/c/src/atexit.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> #include <errno.h> #undef atexit diff --git a/lib/c/src/atoi.c b/lib/c/src/atoi.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <ctype.h> #include <stdlib.h> #undef atoi diff --git a/lib/c/src/calloc.c b/lib/c/src/calloc.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> #include <string.h> diff --git a/lib/c/src/ctype.c b/lib/c/src/ctype.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef ctype diff --git a/lib/c/src/exit.c b/lib/c/src/exit.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> #undef exit diff --git a/lib/c/src/fprintf.c b/lib/c/src/fprintf.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdarg.h> #include <stdio.h> #undef fprintf diff --git a/lib/c/src/isalnum.c b/lib/c/src/isalnum.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isalnum diff --git a/lib/c/src/isalpha.c b/lib/c/src/isalpha.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isalpha diff --git a/lib/c/src/isascii.c b/lib/c/src/isascii.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isascii diff --git a/lib/c/src/isblank.c b/lib/c/src/isblank.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - int isblank(int c) { diff --git a/lib/c/src/iscntrl.c b/lib/c/src/iscntrl.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef iscntrl diff --git a/lib/c/src/isdigit.c b/lib/c/src/isdigit.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isdigit diff --git a/lib/c/src/isgraph.c b/lib/c/src/isgraph.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isgraph diff --git a/lib/c/src/islower.c b/lib/c/src/islower.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef islower diff --git a/lib/c/src/isprint.c b/lib/c/src/isprint.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isprint diff --git a/lib/c/src/ispunct.c b/lib/c/src/ispunct.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef ispunct diff --git a/lib/c/src/isspace.c b/lib/c/src/isspace.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isspace diff --git a/lib/c/src/isupper.c b/lib/c/src/isupper.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isupper diff --git a/lib/c/src/isxdigit.c b/lib/c/src/isxdigit.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef isxdigit diff --git a/lib/c/src/malloc.c b/lib/c/src/malloc.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/lib/c/src/malloc.h b/lib/c/src/malloc.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> /* minimum amount of required units */ diff --git a/lib/c/src/memchr.c b/lib/c/src/memchr.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef memchr diff --git a/lib/c/src/memcmp.c b/lib/c/src/memcmp.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef memcmp diff --git a/lib/c/src/memcpy.c b/lib/c/src/memcpy.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef memcpy diff --git a/lib/c/src/memmove.c b/lib/c/src/memmove.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef memmove diff --git a/lib/c/src/memset.c b/lib/c/src/memset.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef memset diff --git a/lib/c/src/printf.c b/lib/c/src/printf.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdarg.h> #include <stdio.h> #undef printf diff --git a/lib/c/src/rand.c b/lib/c/src/rand.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> #undef rand diff --git a/lib/c/src/realloc.c b/lib/c/src/realloc.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdlib.h> #include <string.h> diff --git a/lib/c/src/setlocale.c b/lib/c/src/setlocale.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <locale.h> #include <stddef.h> #undef setlocale diff --git a/lib/c/src/strcat.c b/lib/c/src/strcat.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strcat diff --git a/lib/c/src/strchr.c b/lib/c/src/strchr.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strchr diff --git a/lib/c/src/strcmp.c b/lib/c/src/strcmp.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strcmp diff --git a/lib/c/src/strcoll.c b/lib/c/src/strcoll.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strcoll diff --git a/lib/c/src/strcpy.c b/lib/c/src/strcpy.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strcpy diff --git a/lib/c/src/strcspn.c b/lib/c/src/strcspn.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strcspn diff --git a/lib/c/src/strlen.c b/lib/c/src/strlen.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strlen diff --git a/lib/c/src/strncat.c b/lib/c/src/strncat.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strncat diff --git a/lib/c/src/strncmp.c b/lib/c/src/strncmp.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strncmp diff --git a/lib/c/src/strncpy.c b/lib/c/src/strncpy.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strncpy diff --git a/lib/c/src/strpbrk.c b/lib/c/src/strpbrk.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strpbrk diff --git a/lib/c/src/strrchr.c b/lib/c/src/strrchr.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strrchr diff --git a/lib/c/src/strspn.c b/lib/c/src/strspn.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strspn diff --git a/lib/c/src/strstr.c b/lib/c/src/strstr.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strstr diff --git a/lib/c/src/strtok.c b/lib/c/src/strtok.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strtok diff --git a/lib/c/src/strxfrm.c b/lib/c/src/strxfrm.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <string.h> #undef strxfrm diff --git a/lib/c/src/syscall.h b/lib/c/src/syscall.h @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - extern void *_brk(void *addr); extern int _open(char *path, int flags, int perm); extern int _close(int fd); diff --git a/lib/c/src/tolower.c b/lib/c/src/tolower.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef tolower diff --git a/lib/c/src/toupper.c b/lib/c/src/toupper.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #define __USE_MACROS #include <ctype.h> #undef toupper diff --git a/lib/c/src/vfprintf.c b/lib/c/src/vfprintf.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - #include <stdarg.h> #include <stdio.h> #undef vfprintf diff --git a/lib/scc/Makefile b/lib/scc/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: LIBDIR = ./ diff --git a/lib/scc/debug.c b/lib/scc/debug.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/debug.c"; #include <stdarg.h> #include <stdio.h> diff --git a/lib/scc/die.c b/lib/scc/die.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/die.c"; #include <stdarg.h> #include <stdlib.h> diff --git a/lib/scc/libdep.mk b/lib/scc/libdep.mk @@ -1,4 +1,3 @@ - LIB-OBJ = $(LIBDIR)/debug.o \ $(LIBDIR)/die.o \ $(LIBDIR)/newitem.o \ diff --git a/lib/scc/xcalloc.c b/lib/scc/xcalloc.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/xcalloc.c"; #include <stdlib.h> #include "../../inc/scc.h" diff --git a/lib/scc/xmalloc.c b/lib/scc/xmalloc.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/xmalloc.c"; #include <stdlib.h> #include "../../inc/scc.h" diff --git a/lib/scc/xrealloc.c b/lib/scc/xrealloc.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/xrealloc.c"; #include <stdlib.h> #include "../../inc/scc.h" diff --git a/lib/scc/xstrdup.c b/lib/scc/xstrdup.c @@ -1,4 +1,3 @@ -/* See LICENSE file for copyright and license details. */ static char sccsid[] = "@(#) ./lib/xstrdup.c"; #include <string.h> #include "../../inc/scc.h" diff --git a/lib/sys/Makefile b/lib/sys/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../config.mk diff --git a/lib/sys/amd64-sysv-linux/Makefile b/lib/sys/amd64-sysv-linux/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../common.mk diff --git a/lib/sys/common.mk b/lib/sys/common.mk @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../../config.mk diff --git a/lib/sys/i386-sysv-linux/Makefile b/lib/sys/i386-sysv-linux/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../Makefile.sys diff --git a/lib/sys/libsys.mk b/lib/sys/libsys.mk @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../../../config.mk diff --git a/lib/sys/qbe-linux/Makefile b/lib/sys/qbe-linux/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../common.mk diff --git a/lib/sys/z80-linux/Makefile b/lib/sys/z80-linux/Makefile @@ -1,4 +1,3 @@ -# See LICENSE file for copyright and license details. .POSIX: include ../Makefile.sys diff --git a/tests/error/0023-include.c b/tests/error/0023-include.c @@ -1,4 +1,3 @@ - /* * Test a comment that goes beyond of the end of an * included file diff --git a/tests/error/update.sh b/tests/error/update.sh @@ -1,5 +1,4 @@ #!/bin/sh -# See LICENSE file for copyright and license details. for i do diff --git a/tests/execute/0001-sanity.c b/tests/execute/0001-sanity.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0002-expr.c b/tests/execute/0002-expr.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0003-local.c b/tests/execute/0003-local.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0004-pointer.c b/tests/execute/0004-pointer.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0005-ifstmt.c b/tests/execute/0005-ifstmt.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0006-whilestmt.c b/tests/execute/0006-whilestmt.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0007-forstmt.c b/tests/execute/0007-forstmt.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0008-dowhilestmt.c b/tests/execute/0008-dowhilestmt.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0009-expr.c b/tests/execute/0009-expr.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0011-assign.c b/tests/execute/0011-assign.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0012-expr.c b/tests/execute/0012-expr.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0013-addridx.c b/tests/execute/0013-addridx.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0014-assignidx.c b/tests/execute/0014-assignidx.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0015-localarray.c b/tests/execute/0015-localarray.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0017-struct.c b/tests/execute/0017-struct.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0018-structptr.c b/tests/execute/0018-structptr.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0019-selfrefstruct.c b/tests/execute/0019-selfrefstruct.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0020-ptrptr.c b/tests/execute/0020-ptrptr.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0021-intfunc.c b/tests/execute/0021-intfunc.c @@ -1,4 +1,3 @@ - int foo(int a, int b) { diff --git a/tests/execute/0022-typedef.c b/tests/execute/0022-typedef.c @@ -1,4 +1,3 @@ - typedef int x; int diff --git a/tests/execute/0023-global.c b/tests/execute/0023-global.c @@ -1,4 +1,3 @@ - int x; int diff --git a/tests/execute/0024-typedefstruct.c b/tests/execute/0024-typedefstruct.c @@ -1,4 +1,3 @@ - typedef struct { int x; int y; } s; s v; diff --git a/tests/execute/0025-string.c b/tests/execute/0025-string.c @@ -1,4 +1,3 @@ - int strlen(char *); int diff --git a/tests/execute/0026-implicitret.c b/tests/execute/0026-implicitret.c @@ -1,4 +1,3 @@ - main() { return 0; diff --git a/tests/execute/0027-charval.c b/tests/execute/0027-charval.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0028-bor.c b/tests/execute/0028-bor.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0029-band.c b/tests/execute/0029-band.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0030-bxor.c b/tests/execute/0030-bxor.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0031-relop.c b/tests/execute/0031-relop.c @@ -1,4 +1,3 @@ - int f() { diff --git a/tests/execute/0032-indec.c b/tests/execute/0032-indec.c @@ -1,4 +1,3 @@ - int zero() { diff --git a/tests/execute/0033-ptrindec.c b/tests/execute/0033-ptrindec.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0034-logandor.c b/tests/execute/0034-logandor.c @@ -1,4 +1,3 @@ - int g; int diff --git a/tests/execute/0035-breakcont.c b/tests/execute/0035-breakcont.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0037-assignop.c b/tests/execute/0037-assignop.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0040-cast.c b/tests/execute/0040-cast.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0041-queen.c b/tests/execute/0041-queen.c @@ -1,4 +1,3 @@ - int *calloc(int, int); int N; diff --git a/tests/execute/0042-prime.c b/tests/execute/0042-prime.c @@ -1,4 +1,3 @@ - int main() { int n; diff --git a/tests/execute/0043-union.c b/tests/execute/0043-union.c @@ -1,6 +1,3 @@ - - - int main() { diff --git a/tests/execute/0046-inits.c b/tests/execute/0046-inits.c @@ -1,4 +1,3 @@ - int x = 5; long y = 6; int *p = &x; diff --git a/tests/execute/0047-anonexport.c b/tests/execute/0047-anonexport.c @@ -1,4 +1,3 @@ - typedef struct { int a; union { diff --git a/tests/execute/0048-inits.c b/tests/execute/0048-inits.c @@ -1,4 +1,3 @@ - struct { int a; int b; int c; } s = {1, 2, 3}; int diff --git a/tests/execute/0049-inits.c b/tests/execute/0049-inits.c @@ -1,5 +1,3 @@ - - struct S {int a; int b;}; struct S s = { .b = 2, .a = 1}; diff --git a/tests/execute/0050-inits.c b/tests/execute/0050-inits.c @@ -1,5 +1,3 @@ - - int x = 10; struct S {int a; int *p;}; diff --git a/tests/execute/0051-inits.c b/tests/execute/0051-inits.c @@ -1,4 +1,3 @@ - struct S1 { int a; int b; diff --git a/tests/execute/0053-struct.c b/tests/execute/0053-struct.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0054-struct.c b/tests/execute/0054-struct.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0055-enum.c b/tests/execute/0055-enum.c @@ -1,4 +1,3 @@ - enum E { x, y, diff --git a/tests/execute/0056-enum.c b/tests/execute/0056-enum.c @@ -1,4 +1,3 @@ - enum E { x, y = 2, diff --git a/tests/execute/0057-duff.c b/tests/execute/0057-duff.c @@ -1,4 +1,3 @@ - int main() { int count, n; diff --git a/tests/execute/0058-bug.c b/tests/execute/0058-bug.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0059-multistring.c b/tests/execute/0059-multistring.c @@ -1,6 +1,3 @@ - - - int main() { char * s; diff --git a/tests/execute/0060-charlit.c b/tests/execute/0060-charlit.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0065-ifdef.c b/tests/execute/0065-ifdef.c @@ -1,4 +1,3 @@ - #ifdef FOO XXX #ifdef BAR diff --git a/tests/execute/0070-cppif.c b/tests/execute/0070-cppif.c @@ -1,4 +1,3 @@ - #if 1 int x = 0; #endif diff --git a/tests/execute/0071-cppelif.c b/tests/execute/0071-cppelif.c @@ -1,4 +1,3 @@ - #if 0 X #elif 1 diff --git a/tests/execute/0072-cppelif.c b/tests/execute/0072-cppelif.c @@ -1,4 +1,3 @@ - #if 0 X #elif 0 diff --git a/tests/execute/0073-ifndef.c b/tests/execute/0073-ifndef.c @@ -1,5 +1,3 @@ - - #ifndef DEF int x = 0; #endif diff --git a/tests/execute/0074-undef.c b/tests/execute/0074-undef.c @@ -1,4 +1,3 @@ - #define X 1 #undef X diff --git a/tests/execute/0075-ptraddasn.c b/tests/execute/0075-ptraddasn.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0076-ptrsubasn.c b/tests/execute/0076-ptrsubasn.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0077-defined.c b/tests/execute/0077-defined.c @@ -1,4 +1,3 @@ - #if defined X X #endif diff --git a/tests/execute/0078-dirifexpr.c b/tests/execute/0078-dirifexpr.c @@ -1,4 +1,3 @@ - #if (-2) != -2 #error fail #endif diff --git a/tests/execute/0079-cond.c b/tests/execute/0079-cond.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0080-arrays.c b/tests/execute/0080-arrays.c @@ -1,4 +1,3 @@ - int foo(int x[100]) { diff --git a/tests/execute/0081-calls.c b/tests/execute/0081-calls.c @@ -1,4 +1,3 @@ - int f1(char *p) { diff --git a/tests/execute/0083-voidret.c b/tests/execute/0083-voidret.c @@ -1,4 +1,3 @@ - void voidfn() { diff --git a/tests/execute/0084-longlong.c b/tests/execute/0084-longlong.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0085-ulonglong.c b/tests/execute/0085-ulonglong.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0089-short.c b/tests/execute/0089-short.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0090-fptr.c b/tests/execute/0090-fptr.c @@ -1,4 +1,3 @@ - struct S { int (*fptr)(); diff --git a/tests/execute/0091-fptr.c b/tests/execute/0091-fptr.c @@ -1,4 +1,3 @@ - int (*fptr)() = 0; diff --git a/tests/execute/0092-fptr.c b/tests/execute/0092-fptr.c @@ -1,4 +1,3 @@ - int zero() { diff --git a/tests/execute/0093-arrayinit.c b/tests/execute/0093-arrayinit.c @@ -1,4 +1,3 @@ - int a[3] = {0, 1, 2}; int diff --git a/tests/execute/0094-arrayinit.c b/tests/execute/0094-arrayinit.c @@ -1,4 +1,3 @@ - typedef struct { int v; int sub[2]; diff --git a/tests/execute/0095-arrayselector.c b/tests/execute/0095-arrayselector.c @@ -1,7 +1,3 @@ - - - - int a[] = {5, [2] = 2, 3}; int diff --git a/tests/execute/0096-inferredarraysize.c b/tests/execute/0096-inferredarraysize.c @@ -1,5 +1,3 @@ - - int a[] = {1, 2, 3, 4}; int diff --git a/tests/execute/0098-tentative.c b/tests/execute/0098-tentative.c @@ -1,4 +1,3 @@ - int x; int x = 3; int x; diff --git a/tests/execute/0099-tentative.c b/tests/execute/0099-tentative.c @@ -1,4 +1,3 @@ - int x, x = 3, x; int diff --git a/tests/execute/0100-redeclaremacro.c b/tests/execute/0100-redeclaremacro.c @@ -1,4 +1,3 @@ - #define NULL ((void*)0) #define NULL ((void*)0) diff --git a/tests/execute/0101-wcharlit.c b/tests/execute/0101-wcharlit.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0103-voidparm.c b/tests/execute/0103-voidparm.c @@ -1,4 +1,3 @@ - int foo(void) { diff --git a/tests/execute/0104-qbebug.c b/tests/execute/0104-qbebug.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0105-shl.c b/tests/execute/0105-shl.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0106-ppcast.c b/tests/execute/0106-ppcast.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0107-bnot.c b/tests/execute/0107-bnot.c @@ -1,4 +1,3 @@ - #include <stdint.h> int diff --git a/tests/execute/0108-bug.c b/tests/execute/0108-bug.c @@ -1,5 +1,3 @@ - - int main() { diff --git a/tests/execute/0114-shortassig.c b/tests/execute/0114-shortassig.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0116-floatcmp.c b/tests/execute/0116-floatcmp.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0118-voidmain.c b/tests/execute/0118-voidmain.c @@ -1,4 +1,3 @@ - int main(void); int diff --git a/tests/execute/0119-macrostr.c b/tests/execute/0119-macrostr.c @@ -1,4 +1,3 @@ - #define B "b" char s[] = "a" B "c"; diff --git a/tests/execute/0120-funpar.c b/tests/execute/0120-funpar.c @@ -1,4 +1,3 @@ - int f(int f) { diff --git a/tests/execute/0125-fundcl.c b/tests/execute/0125-fundcl.c @@ -1,4 +1,3 @@ - int f(int a), g(int a), a; diff --git a/tests/execute/0129-initi.c b/tests/execute/0129-initi.c @@ -1,4 +1,3 @@ - struct range { long quant; } *a; diff --git a/tests/execute/0130-mulpars.c b/tests/execute/0130-mulpars.c @@ -1,4 +1,3 @@ - int f2(int c, int b) { diff --git a/tests/execute/0134-arith.c b/tests/execute/0134-arith.c @@ -1,4 +1,3 @@ - int main() { diff --git a/tests/execute/0137-int-cast.c b/tests/execute/0137-int-cast.c @@ -1,5 +1,3 @@ -/* See LICENSE file for copyright and license details. */ - /* name: TEST013 description: Basic test of integer types and integer conversions diff --git a/tests/execute/0142-char-const.c b/tests/execute/0142-char-const.c @@ -1,4 +1,3 @@ - int main(void) { diff --git a/tests/execute/sysinclude/0064-sysinclude2.h b/tests/execute/sysinclude/0064-sysinclude2.h @@ -1,2 +1 @@ - int y = 2;