ref: 817b9de7a3b4977e684a7a41a0a14b770f264c78
parent: c44455837e96883ea70d4f2a4372fba805071135
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Aug 29 11:34:40 EDT 2017
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.
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
# scc - Suckless C Compiler
-# See LICENSE file for copyright and license details.
.POSIX:
include config.mk
--- 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
--- 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.
--- 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>
--- 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
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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,
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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.
--- 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 */
};
--- 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>
--- a/cc2/generror.awk
+++ b/cc2/generror.awk
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
BEGIN {
print "char *errlist[] = {"
}
--- 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>
--- 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>
--- a/cc2/optm.c
+++ b/cc2/optm.c
@@ -1,4 +1,3 @@
-
#include "../inc/scc.h"
#include "cc2.h"
--- 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>
--- 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"
--- 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>
--- a/cc2/target/amd64-sysv/arch.h
+++ b/cc2/target/amd64-sysv/arch.h
@@ -1,1 +1,0 @@
-/* See LICENSE file for copyright and license details. */
--- 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"
--- 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>
--- 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"
--- 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 \
--- 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"
--- a/cc2/target/i386-sysv/arch.h
+++ b/cc2/target/i386-sysv/arch.h
@@ -1,1 +1,0 @@
-/* See LICENSE file for copyright and license details. */
--- 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"
--- 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>
--- 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"
--- 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 \
--- 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"
--- 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,
--- 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>
--- 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>
--- 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>
--- 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 \
--- 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 \
--- a/cc2/target/z80-scc/arch.h
+++ b/cc2/target/z80-scc/arch.h
@@ -1,1 +1,0 @@
-/* See LICENSE file for copyright and license details. */
--- 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"
--- 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>
--- 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"
--- 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 \
--- 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"
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk
--- a/driver/posix/Makefile
+++ b/driver/posix/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
LIBDIR = ../../lib/scc
--- 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
--- a/inc/Makefile
+++ b/inc/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk
--- 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 */
--- 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 */
--- 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;
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk
--- a/lib/c/Makefile
+++ b/lib/c/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
include ../../config.mk
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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_
--- 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
--- 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
--- 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
--- 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
--- 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>
--- 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
--- 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
--- 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>
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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)
{
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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>
--- 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 */
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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>
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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);
--- 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
--- 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
--- 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
--- a/lib/scc/Makefile
+++ b/lib/scc/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
LIBDIR = ./
--- 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>
--- 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>
--- 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 \
--- 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"
--- 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"
--- 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"
--- 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"
--- a/lib/sys/Makefile
+++ b/lib/sys/Makefile
@@ -1,4 +1,3 @@
-# See LICENSE file for copyright and license details.
.POSIX:
include ../../config.mk
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- a/tests/execute/0001-sanity.c
+++ b/tests/execute/0001-sanity.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0002-expr.c
+++ b/tests/execute/0002-expr.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0003-local.c
+++ b/tests/execute/0003-local.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0004-pointer.c
+++ b/tests/execute/0004-pointer.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0005-ifstmt.c
+++ b/tests/execute/0005-ifstmt.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0006-whilestmt.c
+++ b/tests/execute/0006-whilestmt.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0007-forstmt.c
+++ b/tests/execute/0007-forstmt.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0008-dowhilestmt.c
+++ b/tests/execute/0008-dowhilestmt.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0009-expr.c
+++ b/tests/execute/0009-expr.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0011-assign.c
+++ b/tests/execute/0011-assign.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0012-expr.c
+++ b/tests/execute/0012-expr.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0013-addridx.c
+++ b/tests/execute/0013-addridx.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0014-assignidx.c
+++ b/tests/execute/0014-assignidx.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0015-localarray.c
+++ b/tests/execute/0015-localarray.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0017-struct.c
+++ b/tests/execute/0017-struct.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0018-structptr.c
+++ b/tests/execute/0018-structptr.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0019-selfrefstruct.c
+++ b/tests/execute/0019-selfrefstruct.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0020-ptrptr.c
+++ b/tests/execute/0020-ptrptr.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0021-intfunc.c
+++ b/tests/execute/0021-intfunc.c
@@ -1,4 +1,3 @@
-
int
foo(int a, int b)
{
--- a/tests/execute/0022-typedef.c
+++ b/tests/execute/0022-typedef.c
@@ -1,4 +1,3 @@
-
typedef int x;
int
--- a/tests/execute/0023-global.c
+++ b/tests/execute/0023-global.c
@@ -1,4 +1,3 @@
-
int x;
int
--- 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;
--- a/tests/execute/0025-string.c
+++ b/tests/execute/0025-string.c
@@ -1,4 +1,3 @@
-
int strlen(char *);
int
--- a/tests/execute/0026-implicitret.c
+++ b/tests/execute/0026-implicitret.c
@@ -1,4 +1,3 @@
-
main()
{
return 0;
--- a/tests/execute/0027-charval.c
+++ b/tests/execute/0027-charval.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0028-bor.c
+++ b/tests/execute/0028-bor.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0029-band.c
+++ b/tests/execute/0029-band.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0030-bxor.c
+++ b/tests/execute/0030-bxor.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0031-relop.c
+++ b/tests/execute/0031-relop.c
@@ -1,4 +1,3 @@
-
int
f()
{
--- a/tests/execute/0032-indec.c
+++ b/tests/execute/0032-indec.c
@@ -1,4 +1,3 @@
-
int
zero()
{
--- a/tests/execute/0033-ptrindec.c
+++ b/tests/execute/0033-ptrindec.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0034-logandor.c
+++ b/tests/execute/0034-logandor.c
@@ -1,4 +1,3 @@
-
int g;
int
--- a/tests/execute/0035-breakcont.c
+++ b/tests/execute/0035-breakcont.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0037-assignop.c
+++ b/tests/execute/0037-assignop.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0040-cast.c
+++ b/tests/execute/0040-cast.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0041-queen.c
+++ b/tests/execute/0041-queen.c
@@ -1,4 +1,3 @@
-
int *calloc(int, int);
int N;
--- a/tests/execute/0042-prime.c
+++ b/tests/execute/0042-prime.c
@@ -1,4 +1,3 @@
-
int
main() {
int n;
--- a/tests/execute/0043-union.c
+++ b/tests/execute/0043-union.c
@@ -1,6 +1,3 @@
-
-
-
int
main()
{
--- 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;
--- a/tests/execute/0047-anonexport.c
+++ b/tests/execute/0047-anonexport.c
@@ -1,4 +1,3 @@
-
typedef struct {
int a;
union {
--- 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
--- 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};
--- 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;};
--- a/tests/execute/0051-inits.c
+++ b/tests/execute/0051-inits.c
@@ -1,4 +1,3 @@
-
struct S1 {
int a;
int b;
--- a/tests/execute/0053-struct.c
+++ b/tests/execute/0053-struct.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0054-struct.c
+++ b/tests/execute/0054-struct.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0055-enum.c
+++ b/tests/execute/0055-enum.c
@@ -1,4 +1,3 @@
-
enum E {
x,
y,
--- a/tests/execute/0056-enum.c
+++ b/tests/execute/0056-enum.c
@@ -1,4 +1,3 @@
-
enum E {
x,
y = 2,
--- a/tests/execute/0057-duff.c
+++ b/tests/execute/0057-duff.c
@@ -1,4 +1,3 @@
-
int main()
{
int count, n;
--- a/tests/execute/0058-bug.c
+++ b/tests/execute/0058-bug.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0059-multistring.c
+++ b/tests/execute/0059-multistring.c
@@ -1,6 +1,3 @@
-
-
-
int main()
{
char * s;
--- a/tests/execute/0060-charlit.c
+++ b/tests/execute/0060-charlit.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0065-ifdef.c
+++ b/tests/execute/0065-ifdef.c
@@ -1,4 +1,3 @@
-
#ifdef FOO
XXX
#ifdef BAR
--- a/tests/execute/0070-cppif.c
+++ b/tests/execute/0070-cppif.c
@@ -1,4 +1,3 @@
-
#if 1
int x = 0;
#endif
--- a/tests/execute/0071-cppelif.c
+++ b/tests/execute/0071-cppelif.c
@@ -1,4 +1,3 @@
-
#if 0
X
#elif 1
--- a/tests/execute/0072-cppelif.c
+++ b/tests/execute/0072-cppelif.c
@@ -1,4 +1,3 @@
-
#if 0
X
#elif 0
--- a/tests/execute/0073-ifndef.c
+++ b/tests/execute/0073-ifndef.c
@@ -1,5 +1,3 @@
-
-
#ifndef DEF
int x = 0;
#endif
--- a/tests/execute/0074-undef.c
+++ b/tests/execute/0074-undef.c
@@ -1,4 +1,3 @@
-
#define X 1
#undef X
--- a/tests/execute/0075-ptraddasn.c
+++ b/tests/execute/0075-ptraddasn.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0076-ptrsubasn.c
+++ b/tests/execute/0076-ptrsubasn.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0077-defined.c
+++ b/tests/execute/0077-defined.c
@@ -1,4 +1,3 @@
-
#if defined X
X
#endif
--- a/tests/execute/0078-dirifexpr.c
+++ b/tests/execute/0078-dirifexpr.c
@@ -1,4 +1,3 @@
-
#if (-2) != -2
#error fail
#endif
--- a/tests/execute/0079-cond.c
+++ b/tests/execute/0079-cond.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0080-arrays.c
+++ b/tests/execute/0080-arrays.c
@@ -1,4 +1,3 @@
-
int
foo(int x[100])
{
--- a/tests/execute/0081-calls.c
+++ b/tests/execute/0081-calls.c
@@ -1,4 +1,3 @@
-
int
f1(char *p)
{
--- a/tests/execute/0083-voidret.c
+++ b/tests/execute/0083-voidret.c
@@ -1,4 +1,3 @@
-
void
voidfn()
{
--- a/tests/execute/0084-longlong.c
+++ b/tests/execute/0084-longlong.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0085-ulonglong.c
+++ b/tests/execute/0085-ulonglong.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0089-short.c
+++ b/tests/execute/0089-short.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0090-fptr.c
+++ b/tests/execute/0090-fptr.c
@@ -1,4 +1,3 @@
-
struct S
{
int (*fptr)();
--- a/tests/execute/0091-fptr.c
+++ b/tests/execute/0091-fptr.c
@@ -1,4 +1,3 @@
-
int (*fptr)() = 0;
--- a/tests/execute/0092-fptr.c
+++ b/tests/execute/0092-fptr.c
@@ -1,4 +1,3 @@
-
int
zero()
{
--- a/tests/execute/0093-arrayinit.c
+++ b/tests/execute/0093-arrayinit.c
@@ -1,4 +1,3 @@
-
int a[3] = {0, 1, 2};
int
--- a/tests/execute/0094-arrayinit.c
+++ b/tests/execute/0094-arrayinit.c
@@ -1,4 +1,3 @@
-
typedef struct {
int v;
int sub[2];
--- a/tests/execute/0095-arrayselector.c
+++ b/tests/execute/0095-arrayselector.c
@@ -1,7 +1,3 @@
-
-
-
-
int a[] = {5, [2] = 2, 3};
int
--- a/tests/execute/0096-inferredarraysize.c
+++ b/tests/execute/0096-inferredarraysize.c
@@ -1,5 +1,3 @@
-
-
int a[] = {1, 2, 3, 4};
int
--- a/tests/execute/0098-tentative.c
+++ b/tests/execute/0098-tentative.c
@@ -1,4 +1,3 @@
-
int x;
int x = 3;
int x;
--- a/tests/execute/0099-tentative.c
+++ b/tests/execute/0099-tentative.c
@@ -1,4 +1,3 @@
-
int x, x = 3, x;
int
--- a/tests/execute/0100-redeclaremacro.c
+++ b/tests/execute/0100-redeclaremacro.c
@@ -1,4 +1,3 @@
-
#define NULL ((void*)0)
#define NULL ((void*)0)
--- a/tests/execute/0101-wcharlit.c
+++ b/tests/execute/0101-wcharlit.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0103-voidparm.c
+++ b/tests/execute/0103-voidparm.c
@@ -1,4 +1,3 @@
-
int
foo(void)
{
--- a/tests/execute/0104-qbebug.c
+++ b/tests/execute/0104-qbebug.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0105-shl.c
+++ b/tests/execute/0105-shl.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0106-ppcast.c
+++ b/tests/execute/0106-ppcast.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0107-bnot.c
+++ b/tests/execute/0107-bnot.c
@@ -1,4 +1,3 @@
-
#include <stdint.h>
int
--- a/tests/execute/0108-bug.c
+++ b/tests/execute/0108-bug.c
@@ -1,5 +1,3 @@
-
-
int
main()
{
--- a/tests/execute/0114-shortassig.c
+++ b/tests/execute/0114-shortassig.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0116-floatcmp.c
+++ b/tests/execute/0116-floatcmp.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- a/tests/execute/0118-voidmain.c
+++ b/tests/execute/0118-voidmain.c
@@ -1,4 +1,3 @@
-
int main(void);
int
--- a/tests/execute/0119-macrostr.c
+++ b/tests/execute/0119-macrostr.c
@@ -1,4 +1,3 @@
-
#define B "b"
char s[] = "a" B "c";
--- a/tests/execute/0120-funpar.c
+++ b/tests/execute/0120-funpar.c
@@ -1,4 +1,3 @@
-
int
f(int f)
{
--- a/tests/execute/0125-fundcl.c
+++ b/tests/execute/0125-fundcl.c
@@ -1,4 +1,3 @@
-
int f(int a), g(int a), a;
--- a/tests/execute/0129-initi.c
+++ b/tests/execute/0129-initi.c
@@ -1,4 +1,3 @@
-
struct range {
long quant;
} *a;
--- a/tests/execute/0130-mulpars.c
+++ b/tests/execute/0130-mulpars.c
@@ -1,4 +1,3 @@
-
int
f2(int c, int b)
{
--- a/tests/execute/0134-arith.c
+++ b/tests/execute/0134-arith.c
@@ -1,4 +1,3 @@
-
int
main()
{
--- 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
--- a/tests/execute/0142-char-const.c
+++ b/tests/execute/0142-char-const.c
@@ -1,4 +1,3 @@
-
int
main(void)
{
--- a/tests/execute/sysinclude/0064-sysinclude2.h
+++ b/tests/execute/sysinclude/0064-sysinclude2.h
@@ -1,2 +1,1 @@
-
int y = 2;