From 746cf8a8e2b5785aae3277795d678122643c692f Mon Sep 17 00:00:00 2001 From: "Thomas \"Cakeisalie5\" Touhey" Date: Sun, 23 Jul 2017 18:44:07 +0200 Subject: We now have a static top-level comment generator. --- .gitignore | 1 + CONTRIBUTING.md | 10 +- arch/all/compiler-gcc/bits/alloca.h | 20 +++ arch/all/compiler-gcc/bits/compiler.h | 20 +++ arch/all/compiler-gcc/bits/endian.h | 20 +++ arch/all/compiler-gcc/bits/stdarg.h | 20 +++ arch/all/compiler-gcc/bits/types/exact.h | 20 +++ arch/all/compiler-gcc/bits/types/fast.h | 20 +++ arch/all/compiler-gcc/bits/types/least.h | 20 +++ arch/all/compiler-gcc/bits/types/max.h | 20 +++ arch/all/compiler-gcc/bits/types/primitive.h | 20 +++ arch/all/compiler-gcc/bits/types/ptr.h | 20 +++ arch/all/compiler-renesas/bits/compiler.h | 20 +++ arch/all/compiler-renesas/bits/endian.h | 20 +++ arch/all/compiler-renesas/bits/stdarg.h | 20 +++ arch/all/compiler-renesas/bits/types/exact.h | 20 +++ arch/all/compiler-renesas/bits/types/fast.h | 20 +++ arch/all/compiler-renesas/bits/types/float.h | 20 +++ arch/all/compiler-renesas/bits/types/least.h | 20 +++ arch/all/compiler-renesas/bits/types/max.h | 20 +++ arch/all/compiler-renesas/bits/types/primitive.h | 20 +++ arch/all/compiler-renesas/bits/types/ptr.h | 20 +++ arch/all/compiler-sdcc/bits/compiler.h | 20 +++ arch/all/compiler-sdcc/bits/endian.h | 20 +++ arch/all/compiler-sdcc/bits/stdarg.h | 20 +++ arch/all/compiler-sdcc/bits/types/primitive.h | 20 +++ arch/all/compiler-turbo/bits/compiler.h | 20 +++ arch/all/compiler-turbo/bits/endian.h | 20 +++ arch/all/compiler-turbo/bits/stdarg.h | 20 +++ arch/all/compiler-xlc/bits/compiler.h | 20 +++ arch/all/compiler-xlc/bits/endian.h | 20 +++ arch/all/compiler-xlc/bits/types/primitive.h | 20 +++ arch/all/core-sh/bits/byteswap.h | 20 +++ arch/all/core-sh/bits/setjmp.h | 20 +++ arch/all/core-sh/include/builtin.h | 19 ++- arch/all/core-sh/include/fixed.h | 19 ++- arch/all/core-sh/include/machine.h | 19 ++- arch/all/core-sh/include/smachine.h | 19 ++- arch/all/core-sh/include/umachine.h | 19 ++- arch/all/core/include/alloca.h | 19 ++- arch/all/core/include/assert.h | 19 ++- arch/all/core/include/byteswap.h | 19 ++- arch/all/core/include/cdefs.h | 19 ++- arch/all/core/include/cdefs/attrs.h | 20 +++ arch/all/core/include/cdefs/compiler.h | 19 ++- arch/all/core/include/cdefs/features.h | 19 ++- arch/all/core/include/cdefs/utils.h | 19 ++- arch/all/core/include/complex.h | 19 ++- arch/all/core/include/ctype.h | 19 ++- arch/all/core/include/dirent.h | 19 ++- arch/all/core/include/endian.h | 19 ++- arch/all/core/include/errno.h | 19 ++- arch/all/core/include/features.h | 19 ++- arch/all/core/include/fenv.h | 19 ++- arch/all/core/include/float.h | 19 ++- arch/all/core/include/inttypes.h | 19 ++- arch/all/core/include/iso646.h | 19 ++- arch/all/core/include/limits.h | 19 ++- arch/all/core/include/locale.h | 19 ++- arch/all/core/include/malloc.h | 19 ++- arch/all/core/include/printf.h | 19 ++- arch/all/core/include/setjmp.h | 19 ++- arch/all/core/include/signal.h | 19 ++- arch/all/core/include/stdarg.h | 19 ++- arch/all/core/include/stdatomic.h | 19 ++- arch/all/core/include/stdbool.h | 19 ++- arch/all/core/include/stddef.h | 19 ++- arch/all/core/include/stdfix.h | 19 ++- arch/all/core/include/stdint.h | 19 ++- arch/all/core/include/stdio.h | 19 ++- arch/all/core/include/stdio_ext.h | 19 ++- arch/all/core/include/stdlib.h | 19 ++- arch/all/core/include/string.h | 19 ++- arch/all/core/include/time.h | 19 ++- arch/all/core/include/varargs.h | 19 ++- arch/all/core/src/byteswap.c | 22 +-- arch/all/core/src/ctype/funcs.c | 25 ++-- arch/all/core/src/ctype/tab.c | 26 ++-- arch/all/core/src/errno.c | 22 +-- arch/all/core/src/locales.c | 24 ++-- arch/all/core/src/stdio/printf/default.c | 24 ++-- arch/all/core/src/stdio/printf/fprintf.c | 24 ++-- arch/all/core/src/stdio/printf/register.c | 24 ++-- arch/all/core/src/stdio/printf/sprintf.c | 24 ++-- arch/all/core/src/stdio/printf/vfprintf.c | 24 ++-- arch/all/core/src/stdio/read.c | 22 +-- arch/all/core/src/stdio/seek.c | 22 +-- arch/all/core/src/stdio/stdout.c | 24 ++-- arch/all/core/src/stdio/write.c | 22 +-- arch/all/core/src/stdlib/div.c | 22 +-- arch/all/core/src/stdlib/rand.c | 22 +-- arch/all/core/src/stdlib/wchar.c | 25 ++-- arch/all/core/src/string/memchr.c | 22 +-- arch/all/core/src/string/memcpy.c | 22 +-- arch/all/core/src/string/memset.c | 22 +-- arch/all/core/src/string/strchr.c | 22 +-- arch/all/core/src/string/strlen.c | 22 +-- arch/all/cpp/include/ios | 19 ++- arch/all/cpp/include/iosfwd | 19 ++- arch/all/cpp/include/iostream | 19 ++- arch/all/cpp/include/mystrbuf | 19 ++- arch/all/cpp/include/new | 19 ++- arch/all/cpp/include/streambuf | 19 ++- arch/all/cpp/include/string | 19 ++- arch/all/ensigdsp-sh/include/ensigdsp.h | 19 ++- arch/all/iconv/include/iconv.h | 19 ++- arch/all/iconv/src/conv/utf8_to_wchar.c | 22 +-- arch/all/iconv/src/conv/wchar_to_utf8.c | 22 +-- arch/all/iconv/src/iconv.c | 24 ++-- arch/all/iconv/src/open.c | 24 ++-- arch/all/iconv/src/routes.c | 24 ++-- arch/all/math/include/math.h | 19 ++- arch/all/math/include/mathf.h | 19 ++- arch/all/stdcocorico/include/stdcocorico.h | 20 ++- arch/casiowin/core-crt/src/crt0.c | 24 ++-- arch/casiowin/core/bits/time.h | 20 +++ arch/casiowin/core/src/assert/assert.c | 24 ++-- arch/casiowin/easy-grayscales/include/draw.h | 19 ++- arch/casiowin/easy-grayscales/include/gray.h | 19 ++- arch/casiowin/easy-input/include/EasyInput.h | 19 ++- arch/casiowin/easy-input/src/main.c | 22 +-- arch/casiowin/fxlib/include/commbios.h | 19 ++- arch/casiowin/fxlib/include/dispbios.h | 19 ++- arch/casiowin/fxlib/include/filebios.h | 19 ++- arch/casiowin/fxlib/include/fxlib.h | 19 ++- arch/casiowin/fxlib/include/fxlib/app.h | 19 ++- arch/casiowin/fxlib/include/fxlib/battery.h | 19 ++- arch/casiowin/fxlib/include/fxlib/bcd.h | 19 ++- arch/casiowin/fxlib/include/fxlib/cdefs.h | 19 ++- arch/casiowin/fxlib/include/fxlib/clock.h | 19 ++- arch/casiowin/fxlib/include/fxlib/comm.h | 19 ++- arch/casiowin/fxlib/include/fxlib/display.h | 19 ++- arch/casiowin/fxlib/include/fxlib/file.h | 19 ++- arch/casiowin/fxlib/include/fxlib/keyboard.h | 19 ++- arch/casiowin/fxlib/include/fxlib/serial.h | 19 ++- arch/casiowin/fxlib/include/fxlib/syscall.h | 19 ++- arch/casiowin/fxlib/include/fxlib/timer.h | 19 ++- arch/casiowin/fxlib/include/keybios.h | 19 ++- arch/casiowin/fxlib/include/timer.h | 19 ++- arch/casiowin/fxlib/src/dirent/error.c | 22 +-- arch/casiowin/fxlib/src/dirent/open.c | 22 +-- arch/casiowin/fxlib/src/file/sdk.c | 24 ++-- arch/casiowin/fxlib/src/timer/sdk.c | 25 ++-- arch/casiowin/libfxsys/include/app.h | 19 ++- arch/casiowin/libfxsys/include/asm.h | 19 ++- arch/casiowin/libfxsys/include/disp.h | 19 ++- arch/casiowin/libfxsys/include/file.h | 19 ++- arch/casiowin/libfxsys/include/key.h | 19 ++- arch/casiowin/libfxsys/include/keycodes.h | 19 ++- arch/casiowin/libfxsys/include/official.h | 19 ++- arch/casiowin/libfxsys/include/print.h | 19 ++- arch/casiowin/libfxsys/include/rtc.h | 19 ++- arch/casiowin/libfxsys/include/syscall.h | 19 ++- .../casiowin/monochromelib/include/MonochromeLib.h | 20 ++- arch/casiowin/monochromelib/include/monochrome.h | 20 ++- arch/casiowin/monochromelib/src/bmp_16_and.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_16_and_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_16_or.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_16_or_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_16_xor.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_16_xor_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_8_and.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_8_and_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_8_or.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_8_or_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_8_xor.c | 30 ++-- arch/casiowin/monochromelib/src/bmp_8_xor_cl.c | 30 ++-- arch/casiowin/monochromelib/src/bmp_and.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_and_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_or.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_or_cl.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_xor.c | 28 ++-- arch/casiowin/monochromelib/src/bmp_xor_cl.c | 28 ++-- arch/casiowin/monochromelib/src/circle.c | 30 ++-- arch/casiowin/monochromelib/src/clear_screen.c | 28 ++-- arch/casiowin/monochromelib/src/clear_vram.c | 28 ++-- arch/casiowin/monochromelib/src/display_vram.c | 30 ++-- arch/casiowin/monochromelib/src/ellipse.c | 30 ++-- arch/casiowin/monochromelib/src/ellipse_in_rect.c | 30 ++-- arch/casiowin/monochromelib/src/filled_circle.c | 30 ++-- arch/casiowin/monochromelib/src/filled_ellipse.c | 30 ++-- .../monochromelib/src/filled_ellipse_in_rect.c | 30 ++-- arch/casiowin/monochromelib/src/filled_polygon.c | 30 ++-- arch/casiowin/monochromelib/src/get_contrast.c | 28 ++-- arch/casiowin/monochromelib/src/horizontal_line.c | 28 ++-- .../casiowin/monochromelib/src/horizontal_scroll.c | 30 ++-- arch/casiowin/monochromelib/src/line.c | 28 ++-- arch/casiowin/monochromelib/src/pixel.c | 30 ++-- arch/casiowin/monochromelib/src/pixel_test.c | 30 ++-- arch/casiowin/monochromelib/src/point.c | 28 ++-- arch/casiowin/monochromelib/src/polygon.c | 28 ++-- arch/casiowin/monochromelib/src/rectangle.c | 28 ++-- arch/casiowin/monochromelib/src/set_contrast.c | 28 ++-- arch/casiowin/monochromelib/src/vertical_line.c | 28 ++-- arch/casiowin/monochromelib/src/vertical_scroll.c | 30 ++-- arch/casiowin/monochromelib/src/vram_adress.c | 30 ++-- arch/casiowin/revolutionfx/include/revolution.h | 19 ++- tools/update_license.py | 132 ----------------- tools/updatesource.py | 160 +++++++++++++++++++++ 199 files changed, 3449 insertions(+), 1136 deletions(-) delete mode 100755 tools/update_license.py create mode 100755 tools/updatesource.py diff --git a/.gitignore b/.gitignore index 381c601..628422c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ /build.yml /.config.yml /.makeinc-cache +.*.chg # that was for modules arch/**/obj diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e83ebf1..5b8cd1c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -56,11 +56,11 @@ as they have authority. And please, if it is denied, don't make a scene out of it: fork this project, and do a better job at maintaining it. ## Roles file (top-level comments) -The top-level comment of each source/include file is **NOT** hand-written, -it is generated by a script which reads the copyright lines and the licences -from the machine-readable copyright information files `copyright.yml`, -and the short description of each file from the roles files `roles.yml` -present in each module root. +**The top-level comment of each source/include file is NOT hand-written**, +it is generated by a script, `tools/updatesource.py`, which reads the +copyright lines and the licences from the machine-readable copyright +information files `copyright.yml`, and the short description of each file +from the roles files `roles.yml` present in each module root. See the section about roles files in `FORMATS.md`. diff --git a/arch/all/compiler-gcc/bits/alloca.h b/arch/all/compiler-gcc/bits/alloca.h index b5321f7..3f6d9ac 100644 --- a/arch/all/compiler-gcc/bits/alloca.h +++ b/arch/all/compiler-gcc/bits/alloca.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * alloca.h -- Static allocation for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* GCC has a built-in for this! */ #define alloca(_SIZE) __builtin_alloca(_SIZE) diff --git a/arch/all/compiler-gcc/bits/compiler.h b/arch/all/compiler-gcc/bits/compiler.h index 32c2b2b..ef258c2 100644 --- a/arch/all/compiler-gcc/bits/compiler.h +++ b/arch/all/compiler-gcc/bits/compiler.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * compiler.h -- GCC identification macros. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* ************************************************************************* */ /* Detection and version checking */ /* ************************************************************************* */ diff --git a/arch/all/compiler-gcc/bits/endian.h b/arch/all/compiler-gcc/bits/endian.h index d582a2e..3f22fef 100644 --- a/arch/all/compiler-gcc/bits/endian.h +++ b/arch/all/compiler-gcc/bits/endian.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * endian.h -- Endianness identification for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* GCC defines the `__BYTE_ORDER__` variable, along with the * `__ORDER_LITTLE_ENDIAN__`, `__ORDER_BIG_ENDIAN__` and * `__ORDER_PDP_ENDIAN__` constants. */ diff --git a/arch/all/compiler-gcc/bits/stdarg.h b/arch/all/compiler-gcc/bits/stdarg.h index 1c4cfd0..d75841b 100644 --- a/arch/all/compiler-gcc/bits/stdarg.h +++ b/arch/all/compiler-gcc/bits/stdarg.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * stdarg.h -- Variable argument list management for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* GCC provides built-ins to make the variable argument list implementation * easier. */ diff --git a/arch/all/compiler-gcc/bits/types/exact.h b/arch/all/compiler-gcc/bits/types/exact.h index 7377e65..2fbd5cd 100644 --- a/arch/all/compiler-gcc/bits/types/exact.h +++ b/arch/all/compiler-gcc/bits/types/exact.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/exact.h -- Exact-width integer types for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __INT8_TYPE__ __int8_t; typedef __UINT8_TYPE__ __uint8_t; typedef __INT16_TYPE__ __int16_t; diff --git a/arch/all/compiler-gcc/bits/types/fast.h b/arch/all/compiler-gcc/bits/types/fast.h index 33d3b9a..bd3cb8f 100644 --- a/arch/all/compiler-gcc/bits/types/fast.h +++ b/arch/all/compiler-gcc/bits/types/fast.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/fast.h -- Fastest-width integer types for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __int_fast8_t; typedef __uint32_t __uint_fast8_t; typedef __int32_t __int_fast16_t; diff --git a/arch/all/compiler-gcc/bits/types/least.h b/arch/all/compiler-gcc/bits/types/least.h index a1338ec..db17b13 100644 --- a/arch/all/compiler-gcc/bits/types/least.h +++ b/arch/all/compiler-gcc/bits/types/least.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/least.h -- Least-width integer types for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int8_t __int_least8_t; typedef __uint8_t __uint_least8_t; typedef __int16_t __int_least16_t; diff --git a/arch/all/compiler-gcc/bits/types/max.h b/arch/all/compiler-gcc/bits/types/max.h index 0e27663..94efeed 100644 --- a/arch/all/compiler-gcc/bits/types/max.h +++ b/arch/all/compiler-gcc/bits/types/max.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/max.h -- Maximum width integer types for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __intmax_t; typedef __uint32_t __uintmax_t; diff --git a/arch/all/compiler-gcc/bits/types/primitive.h b/arch/all/compiler-gcc/bits/types/primitive.h index 08efbee..1c8d68e 100644 --- a/arch/all/compiler-gcc/bits/types/primitive.h +++ b/arch/all/compiler-gcc/bits/types/primitive.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/primitive.h -- Information about the primitive types for GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Char type. */ #define __CHAR_BIT __CHAR_BIT__ diff --git a/arch/all/compiler-gcc/bits/types/ptr.h b/arch/all/compiler-gcc/bits/types/ptr.h index 53b01e4..f7f16dd 100644 --- a/arch/all/compiler-gcc/bits/types/ptr.h +++ b/arch/all/compiler-gcc/bits/types/ptr.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/ptr.h -- Pointer type in GCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-gcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __intptr_t; typedef __uint32_t __uintptr_t; diff --git a/arch/all/compiler-renesas/bits/compiler.h b/arch/all/compiler-renesas/bits/compiler.h index 6492d0a..c0fcc26 100644 --- a/arch/all/compiler-renesas/bits/compiler.h +++ b/arch/all/compiler-renesas/bits/compiler.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * compiler.h -- SHC identification macros. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Identify the compiler. */ #if !defined(__HITACHI__) # error "This header should only be used with the Renesas C/C++ Compiler!" diff --git a/arch/all/compiler-renesas/bits/endian.h b/arch/all/compiler-renesas/bits/endian.h index f96c846..fd10d5f 100644 --- a/arch/all/compiler-renesas/bits/endian.h +++ b/arch/all/compiler-renesas/bits/endian.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * endian.h -- Endianness identification for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Renesas' SuperH compiler defines the `_LIT` or `_BIG` macros * if it's configured for little or big endian. */ diff --git a/arch/all/compiler-renesas/bits/stdarg.h b/arch/all/compiler-renesas/bits/stdarg.h index 27e9c3a..2bb511b 100644 --- a/arch/all/compiler-renesas/bits/stdarg.h +++ b/arch/all/compiler-renesas/bits/stdarg.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * stdarg.h -- Variable argument list management for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef char* __va_list; /* (get the 4-aligned address) */ diff --git a/arch/all/compiler-renesas/bits/types/exact.h b/arch/all/compiler-renesas/bits/types/exact.h index 1dcf7fd..addb82f 100644 --- a/arch/all/compiler-renesas/bits/types/exact.h +++ b/arch/all/compiler-renesas/bits/types/exact.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/exact.h -- Exact-width integer types for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short __int16_t; diff --git a/arch/all/compiler-renesas/bits/types/fast.h b/arch/all/compiler-renesas/bits/types/fast.h index 33d3b9a..2b60379 100644 --- a/arch/all/compiler-renesas/bits/types/fast.h +++ b/arch/all/compiler-renesas/bits/types/fast.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/fast.h -- Fastest-width integer types for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __int_fast8_t; typedef __uint32_t __uint_fast8_t; typedef __int32_t __int_fast16_t; diff --git a/arch/all/compiler-renesas/bits/types/float.h b/arch/all/compiler-renesas/bits/types/float.h index e5c1619..9628a20 100644 --- a/arch/all/compiler-renesas/bits/types/float.h +++ b/arch/all/compiler-renesas/bits/types/float.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/float.h -- Floating-point types information for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #if defined(_FPD) # define __FLOAT_DOUBLE 1 #else diff --git a/arch/all/compiler-renesas/bits/types/least.h b/arch/all/compiler-renesas/bits/types/least.h index 8a2f57a..3666035 100644 --- a/arch/all/compiler-renesas/bits/types/least.h +++ b/arch/all/compiler-renesas/bits/types/least.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/least.h -- Least-width integer types for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int8_t __int_least8_t; typedef __uint8_t __uint_least8_t; typedef __int16_t __int_least16_t; diff --git a/arch/all/compiler-renesas/bits/types/max.h b/arch/all/compiler-renesas/bits/types/max.h index 0e27663..8dc0b35 100644 --- a/arch/all/compiler-renesas/bits/types/max.h +++ b/arch/all/compiler-renesas/bits/types/max.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/max.h -- Maximum width integer types for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __intmax_t; typedef __uint32_t __uintmax_t; diff --git a/arch/all/compiler-renesas/bits/types/primitive.h b/arch/all/compiler-renesas/bits/types/primitive.h index b0168fb..52ef17e 100644 --- a/arch/all/compiler-renesas/bits/types/primitive.h +++ b/arch/all/compiler-renesas/bits/types/primitive.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/primitive.h -- Information about the primitive types for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #define __CHAR_BIT ( 8) #define __CHAR_IS_SIGNED 1 diff --git a/arch/all/compiler-renesas/bits/types/ptr.h b/arch/all/compiler-renesas/bits/types/ptr.h index 53b01e4..17bda37 100644 --- a/arch/all/compiler-renesas/bits/types/ptr.h +++ b/arch/all/compiler-renesas/bits/types/ptr.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/ptr.h -- Pointer type in SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-renesas' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef __int32_t __intptr_t; typedef __uint32_t __uintptr_t; diff --git a/arch/all/compiler-sdcc/bits/compiler.h b/arch/all/compiler-sdcc/bits/compiler.h index eb75025..786d345 100644 --- a/arch/all/compiler-sdcc/bits/compiler.h +++ b/arch/all/compiler-sdcc/bits/compiler.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * compiler.h -- SDCC identification macros. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-sdcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #if defined(SDCC) && !defined(__SDCC) # define __SDCC SDCC #endif diff --git a/arch/all/compiler-sdcc/bits/endian.h b/arch/all/compiler-sdcc/bits/endian.h index 8658254..756d7a1 100644 --- a/arch/all/compiler-sdcc/bits/endian.h +++ b/arch/all/compiler-sdcc/bits/endian.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * endian.h -- Endianness identification for SDCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-sdcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* FIXME: isn't correspond to some architectures, if people are interested * in this and have the time, they should contribute here. */ diff --git a/arch/all/compiler-sdcc/bits/stdarg.h b/arch/all/compiler-sdcc/bits/stdarg.h index a6ced2e..cd69b84 100644 --- a/arch/all/compiler-sdcc/bits/stdarg.h +++ b/arch/all/compiler-sdcc/bits/stdarg.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * stdarg.h -- Variable argument list management for SDCC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-sdcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* ************************************************************************* */ /* Upwards and downwards `__va_start` and `__va_arg` versions. */ /* ************************************************************************* */ diff --git a/arch/all/compiler-sdcc/bits/types/primitive.h b/arch/all/compiler-sdcc/bits/types/primitive.h index 3854421..fbd72f8 100644 --- a/arch/all/compiler-sdcc/bits/types/primitive.h +++ b/arch/all/compiler-sdcc/bits/types/primitive.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/primitive.h -- (unknown role) + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-sdcc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Char type. */ # define __CHAR_BIT 128 diff --git a/arch/all/compiler-turbo/bits/compiler.h b/arch/all/compiler-turbo/bits/compiler.h index cdf0890..037894b 100644 --- a/arch/all/compiler-turbo/bits/compiler.h +++ b/arch/all/compiler-turbo/bits/compiler.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * compiler.h -- Turbo C identification macros. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-turbo' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #if !defined(__TURBOC__) # error "This header should only be used with the Turbo C Compiler!" #endif diff --git a/arch/all/compiler-turbo/bits/endian.h b/arch/all/compiler-turbo/bits/endian.h index 001de30..c96bbb1 100644 --- a/arch/all/compiler-turbo/bits/endian.h +++ b/arch/all/compiler-turbo/bits/endian.h @@ -1,2 +1,22 @@ +/* **************************************************************************** + * endian.h -- Endianness identification for Turbo C. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-turbo' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* TODO */ # error "This file is to write." diff --git a/arch/all/compiler-turbo/bits/stdarg.h b/arch/all/compiler-turbo/bits/stdarg.h index d907571..4ae1458 100644 --- a/arch/all/compiler-turbo/bits/stdarg.h +++ b/arch/all/compiler-turbo/bits/stdarg.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * stdarg.h -- Variable argument list management for Turbo C. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-turbo' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ typedef void *__va_list; /* Open and close a variable argument list. */ diff --git a/arch/all/compiler-xlc/bits/compiler.h b/arch/all/compiler-xlc/bits/compiler.h index 8084454..48dd794 100644 --- a/arch/all/compiler-xlc/bits/compiler.h +++ b/arch/all/compiler-xlc/bits/compiler.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * compiler.h -- XLC identification macros. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-xlc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #if !defined(__IBMC__) && !defined(__xlC__) # error "This header should only be used with IBM XLC!" #endif diff --git a/arch/all/compiler-xlc/bits/endian.h b/arch/all/compiler-xlc/bits/endian.h index e5b1359..6c6e6a4 100644 --- a/arch/all/compiler-xlc/bits/endian.h +++ b/arch/all/compiler-xlc/bits/endian.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * endian.h -- Endianness identification for XLC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-xlc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* The IBM C compiler provides the `_BIG_ENDIAN` and/or `__BIG_ENDIAN__` * pre-defined macros to know if the platform is big endian or not. */ diff --git a/arch/all/compiler-xlc/bits/types/primitive.h b/arch/all/compiler-xlc/bits/types/primitive.h index 727147e..3d783ee 100644 --- a/arch/all/compiler-xlc/bits/types/primitive.h +++ b/arch/all/compiler-xlc/bits/types/primitive.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * types/primitive.h -- Information about the primitive types for XLC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/compiler-xlc' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Char type. */ #define __CHAR_BIT 8 diff --git a/arch/all/core-sh/bits/byteswap.h b/arch/all/core-sh/bits/byteswap.h index 358a9b3..0120be4 100644 --- a/arch/all/core-sh/bits/byteswap.h +++ b/arch/all/core-sh/bits/byteswap.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * byteswap.h -- Optimized byteswapping utilities for SuperH. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #define __BYTESWAP_SUB16 #define __BYTESWAP_SUB32 diff --git a/arch/all/core-sh/bits/setjmp.h b/arch/all/core-sh/bits/setjmp.h index 1484a58..16aec1f 100644 --- a/arch/all/core-sh/bits/setjmp.h +++ b/arch/all/core-sh/bits/setjmp.h @@ -1,2 +1,22 @@ +/* **************************************************************************** + * setjmp.h -- Non-local jump buffer type. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Jump buffer type. */ typedef __uint32_t jmp_buf[16]; diff --git a/arch/all/core-sh/include/builtin.h b/arch/all/core-sh/include/builtin.h index e1f047e..5587ba4 100644 --- a/arch/all/core-sh/include/builtin.h +++ b/arch/all/core-sh/include/builtin.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Built-in utilities in Renesas' compiler. + * builtin.h -- Built-ins for SHC. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core-sh/include/fixed.h b/arch/all/core-sh/include/fixed.h index ff390b5..65234cc 100644 --- a/arch/all/core-sh/include/fixed.h +++ b/arch/all/core-sh/include/fixed.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Fixed utilities for Renesas' SHC compiler. + * fixed.h -- Fixed-point numbers, Renesas' way. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core-sh/include/machine.h b/arch/all/core-sh/include/machine.h index c957123..98fc660 100644 --- a/arch/all/core-sh/include/machine.h +++ b/arch/all/core-sh/include/machine.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * SuperH assembly-related utilities. + * machine.h -- SuperH intrinsics. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* Include the subheaders. */ # include diff --git a/arch/all/core-sh/include/smachine.h b/arch/all/core-sh/include/smachine.h index 1153e25..f51d295 100644 --- a/arch/all/core-sh/include/smachine.h +++ b/arch/all/core-sh/include/smachine.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * SuperH assembly-related utilities, superuser mode. + * smachine.h -- SuperH intrinsics, privileged mode. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core-sh/include/umachine.h b/arch/all/core-sh/include/umachine.h index cda5fe0..6389af6 100644 --- a/arch/all/core-sh/include/umachine.h +++ b/arch/all/core-sh/include/umachine.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * SuperH assembly-related utilities, user mode. + * umachine.h -- SuperH intrinsics, user mode. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/alloca.h b/arch/all/core/include/alloca.h index efcbd34..1f08f00 100644 --- a/arch/all/core/include/alloca.h +++ b/arch/all/core/include/alloca.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Allocate memory on stack. + * alloca.h -- Allocate memory on stack. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/assert.h b/arch/all/core/include/assert.h index a0e7aa0..37666da 100644 --- a/arch/all/core/include/assert.h +++ b/arch/all/core/include/assert.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Assertions. + * assert.h -- Assertions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/byteswap.h b/arch/all/core/include/byteswap.h index 9a94970..b3f5f2d 100644 --- a/arch/all/core/include/byteswap.h +++ b/arch/all/core/include/byteswap.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Byte swapping utilities. + * byteswap.h -- Byte swapping utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/cdefs.h b/arch/all/core/include/cdefs.h index b2c5d78..e77bfcd 100644 --- a/arch/all/core/include/cdefs.h +++ b/arch/all/core/include/cdefs.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * C definitions. + * cdefs.h -- C definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* Identification macros for libcarrot. * - `__LIBCARROT__` is defined and equal to 1 if the current libc diff --git a/arch/all/core/include/cdefs/attrs.h b/arch/all/core/include/cdefs/attrs.h index 830eecd..e3ae612 100644 --- a/arch/all/core/include/cdefs/attrs.h +++ b/arch/all/core/include/cdefs/attrs.h @@ -1,3 +1,23 @@ +/* **************************************************************************** + * cdefs/attrs.h -- C Compiler helpers. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ #ifndef _CDEFS_H # error "This file should be included by `cdefs.h`!" #endif diff --git a/arch/all/core/include/cdefs/compiler.h b/arch/all/core/include/cdefs/compiler.h index 4e6e743..0f17cc4 100644 --- a/arch/all/core/include/cdefs/compiler.h +++ b/arch/all/core/include/cdefs/compiler.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Compiler description. + * cdefs/compiler.h -- Compiler description. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #ifndef _CDEFS_H # error "This file should be included by `cdefs.h`!" diff --git a/arch/all/core/include/cdefs/features.h b/arch/all/core/include/cdefs/features.h index add5d3f..8f78cf2 100644 --- a/arch/all/core/include/cdefs/features.h +++ b/arch/all/core/include/cdefs/features.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Compiler features. + * cdefs/features.h -- Compiler features. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #ifndef _CDEFS_H # error "This file should be included by `cdefs.h`!" diff --git a/arch/all/core/include/cdefs/utils.h b/arch/all/core/include/cdefs/utils.h index 36aa516..00b5b16 100644 --- a/arch/all/core/include/cdefs/utils.h +++ b/arch/all/core/include/cdefs/utils.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * C utilities. + * cdefs/utils.h -- C utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #ifndef _CDEFS_H # error "This file should be included by `cdefs.h`!" diff --git a/arch/all/core/include/complex.h b/arch/all/core/include/complex.h index 5aa05e1..a5ce4ce 100644 --- a/arch/all/core/include/complex.h +++ b/arch/all/core/include/complex.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Complex utilities. + * complex.h -- Complex utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/include/ctype.h b/arch/all/core/include/ctype.h index 75a47d7..4d90b1c 100644 --- a/arch/all/core/include/ctype.h +++ b/arch/all/core/include/ctype.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Character type. + * ctype.h -- Character type. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_DECLS diff --git a/arch/all/core/include/dirent.h b/arch/all/core/include/dirent.h index 97c4051..9a10981 100644 --- a/arch/all/core/include/dirent.h +++ b/arch/all/core/include/dirent.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Directory listing. + * dirent.h -- Directory listing. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_DECLS diff --git a/arch/all/core/include/endian.h b/arch/all/core/include/endian.h index 46c114e..b08c2c8 100644 --- a/arch/all/core/include/endian.h +++ b/arch/all/core/include/endian.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Endian conversion utilities. + * endian.h -- Endian conversion utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/errno.h b/arch/all/core/include/errno.h index 82a2816..4bef26d 100644 --- a/arch/all/core/include/errno.h +++ b/arch/all/core/include/errno.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * libc error codes. + * errno.h -- libc error codes. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_DECLS diff --git a/arch/all/core/include/features.h b/arch/all/core/include/features.h index 6d205ae..4c7e918 100644 --- a/arch/all/core/include/features.h +++ b/arch/all/core/include/features.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * C features. + * features.h -- C features. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* This file turns the feature macros, defined by the compiler or by the * user, into internal macros used by the library, in order to set the diff --git a/arch/all/core/include/fenv.h b/arch/all/core/include/fenv.h index 5a58eba..536c6fc 100644 --- a/arch/all/core/include/fenv.h +++ b/arch/all/core/include/fenv.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * Floating environment. + * fenv.h -- Floating environment. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* TODO */ diff --git a/arch/all/core/include/float.h b/arch/all/core/include/float.h index 2f59027..6f65fa8 100644 --- a/arch/all/core/include/float.h +++ b/arch/all/core/include/float.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Floating constants. + * float.h -- Floating constants. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include_bits diff --git a/arch/all/core/include/inttypes.h b/arch/all/core/include/inttypes.h index 2f8f964..f547e94 100644 --- a/arch/all/core/include/inttypes.h +++ b/arch/all/core/include/inttypes.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Things using types from `stdint.h`. + * inttypes.h -- Things using types from `stdint.h`. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/iso646.h b/arch/all/core/include/iso646.h index 9136fe4..61e9ebf 100644 --- a/arch/all/core/include/iso646.h +++ b/arch/all/core/include/iso646.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * English words. + * iso646.h -- English words. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/include/limits.h b/arch/all/core/include/limits.h index e910118..2c781f6 100644 --- a/arch/all/core/include/limits.h +++ b/arch/all/core/include/limits.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Integer limits. + * limits.h -- Integer limits. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/locale.h b/arch/all/core/include/locale.h index 18d629a..1347c78 100644 --- a/arch/all/core/include/locale.h +++ b/arch/all/core/include/locale.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Locales. + * locale.h -- Locales. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/malloc.h b/arch/all/core/include/malloc.h index 3ab5991..97489c6 100644 --- a/arch/all/core/include/malloc.h +++ b/arch/all/core/include/malloc.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Dynamic memory allocation. + * malloc.h -- Dynamic memory allocation. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/printf.h b/arch/all/core/include/printf.h index 0bcd64c..a46a02d 100644 --- a/arch/all/core/include/printf.h +++ b/arch/all/core/include/printf.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * printf-related utilities. + * printf.h -- printf-related utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/setjmp.h b/arch/all/core/include/setjmp.h index a66850b..ba641d3 100644 --- a/arch/all/core/include/setjmp.h +++ b/arch/all/core/include/setjmp.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Non-local jumps. + * setjmp.h -- Non-local jumps. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_DECLS diff --git a/arch/all/core/include/signal.h b/arch/all/core/include/signal.h index f98efdb..88f2d3a 100644 --- a/arch/all/core/include/signal.h +++ b/arch/all/core/include/signal.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Signals. + * signal.h -- Signals. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_NAMESPACE_STD diff --git a/arch/all/core/include/stdarg.h b/arch/all/core/include/stdarg.h index 852a164..ae3a65b 100644 --- a/arch/all/core/include/stdarg.h +++ b/arch/all/core/include/stdarg.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Variable argument lists. + * stdarg.h -- Variable argument lists. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if defined(_VARARGS_H) diff --git a/arch/all/core/include/stdatomic.h b/arch/all/core/include/stdatomic.h index 163dd96..8d1caf5 100644 --- a/arch/all/core/include/stdatomic.h +++ b/arch/all/core/include/stdatomic.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Atomic integer types. + * stdatomic.h -- Atomic integer types. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/include/stdbool.h b/arch/all/core/include/stdbool.h index a4cd04f..d4b5229 100644 --- a/arch/all/core/include/stdbool.h +++ b/arch/all/core/include/stdbool.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Booleans. + * stdbool.h -- Booleans. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if !__USE_CXX98 diff --git a/arch/all/core/include/stddef.h b/arch/all/core/include/stddef.h index 81d0e0b..1e9f469 100644 --- a/arch/all/core/include/stddef.h +++ b/arch/all/core/include/stddef.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Standard definitions. + * stddef.h -- Standard definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_NAMESPACE_STD diff --git a/arch/all/core/include/stdfix.h b/arch/all/core/include/stdfix.h index d35acb9..2017572 100644 --- a/arch/all/core/include/stdfix.h +++ b/arch/all/core/include/stdfix.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Standard fix integers. + * stdfix.h -- Standard fix integers. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/include/stdint.h b/arch/all/core/include/stdint.h index edc1d54..b9e9f8a 100644 --- a/arch/all/core/include/stdint.h +++ b/arch/all/core/include/stdint.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Standard integer types. + * stdint.h -- Standard integer types. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/stdio.h b/arch/all/core/include/stdio.h index f7912e3..6c361c7 100644 --- a/arch/all/core/include/stdio.h +++ b/arch/all/core/include/stdio.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Standard I/O. + * stdio.h -- Standard I/O. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/stdio_ext.h b/arch/all/core/include/stdio_ext.h index 6583f87..f52cb90 100644 --- a/arch/all/core/include/stdio_ext.h +++ b/arch/all/core/include/stdio_ext.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Extended standard I/O utilities. + * stdio_ext.h -- Extended standard I/O utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/stdlib.h b/arch/all/core/include/stdlib.h index 4e55162..bbb5b9e 100644 --- a/arch/all/core/include/stdlib.h +++ b/arch/all/core/include/stdlib.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Standard library utilities. + * stdlib.h -- Standard library utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/string.h b/arch/all/core/include/string.h index a5f3356..53ddfba 100644 --- a/arch/all/core/include/string.h +++ b/arch/all/core/include/string.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * String utilities. + * string.h -- String utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/time.h b/arch/all/core/include/time.h index 07a6f4c..0e15a9b 100644 --- a/arch/all/core/include/time.h +++ b/arch/all/core/include/time.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Time utilities. + * time.h -- Time utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/include/varargs.h b/arch/all/core/include/varargs.h index b03c7e5..d1602ee 100644 --- a/arch/all/core/include/varargs.h +++ b/arch/all/core/include/varargs.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Old variable argument lists. + * varargs.h -- Old variable argument lists. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/byteswap.c b/arch/all/core/src/byteswap.c index 0895f7e..7a6d591 100644 --- a/arch/all/core/src/byteswap.c +++ b/arch/all/core/src/byteswap.c @@ -2,19 +2,21 @@ * byteswap.c -- default byte swapping utilities. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #define __NO_BYTESWAP #include diff --git a/arch/all/core/src/ctype/funcs.c b/arch/all/core/src/ctype/funcs.c index 0d16911..b1e08a9 100644 --- a/arch/all/core/src/ctype/funcs.c +++ b/arch/all/core/src/ctype/funcs.c @@ -2,22 +2,21 @@ * ctype/funcs.c -- Character utilities. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. * - * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * - * Some parts are taken and adapted from the GNU C library, which is - * Copyright (C) 1991-2016 Free Software Foundation, Inc. + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #define __NO_CTYPE #include diff --git a/arch/all/core/src/ctype/tab.c b/arch/all/core/src/ctype/tab.c index 12f2880..60c6744 100644 --- a/arch/all/core/src/ctype/tab.c +++ b/arch/all/core/src/ctype/tab.c @@ -1,23 +1,23 @@ /* **************************************************************************** * ctype/tab.c -- ASCII locale table for character identification. + * Copyright (C) 1991-2016 Free Software Foundation, Inc * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. * - * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * - * Some parts are taken and adapted from the GNU C library, which is - * Copyright (C) 1991-2016 Free Software Foundation, Inc. + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #define _U _ISupper diff --git a/arch/all/core/src/errno.c b/arch/all/core/src/errno.c index 694cac9..fe72f86 100644 --- a/arch/all/core/src/errno.c +++ b/arch/all/core/src/errno.c @@ -2,19 +2,21 @@ * errno.c -- errno management. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/locales.c b/arch/all/core/src/locales.c index 1fa7266..2704457 100644 --- a/arch/all/core/src/locales.c +++ b/arch/all/core/src/locales.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * locales.c -- localization register. + * locales.c -- Localization register. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/src/stdio/printf/default.c b/arch/all/core/src/stdio/printf/default.c index 8568d66..dd2b1ac 100644 --- a/arch/all/core/src/stdio/printf/default.c +++ b/arch/all/core/src/stdio/printf/default.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/default.c -- Default printf callbacks. + * stdio/printf/default.c -- Default printf callbacks. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "printf.h" #include diff --git a/arch/all/core/src/stdio/printf/fprintf.c b/arch/all/core/src/stdio/printf/fprintf.c index b51e9f4..a45aafc 100644 --- a/arch/all/core/src/stdio/printf/fprintf.c +++ b/arch/all/core/src/stdio/printf/fprintf.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/fprintf.c -- Print formatted in a stream. + * stdio/printf/fprintf.c -- Print formatted in a stream. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "printf.h" diff --git a/arch/all/core/src/stdio/printf/register.c b/arch/all/core/src/stdio/printf/register.c index 1b53e94..a6841dd 100644 --- a/arch/all/core/src/stdio/printf/register.c +++ b/arch/all/core/src/stdio/printf/register.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/register.c -- Manage printf callbacks. + * stdio/printf/register.c -- Manage printf callbacks. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "stdio.h" #include diff --git a/arch/all/core/src/stdio/printf/sprintf.c b/arch/all/core/src/stdio/printf/sprintf.c index 6a75cb1..e802550 100644 --- a/arch/all/core/src/stdio/printf/sprintf.c +++ b/arch/all/core/src/stdio/printf/sprintf.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/sprintf.c -- String front-end to [v]s[n]printf. + * stdio/printf/sprintf.c -- String front-end to [v]s[n]printf. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "printf.h" #include diff --git a/arch/all/core/src/stdio/printf/vfprintf.c b/arch/all/core/src/stdio/printf/vfprintf.c index 887e9d6..1a21f68 100644 --- a/arch/all/core/src/stdio/printf/vfprintf.c +++ b/arch/all/core/src/stdio/printf/vfprintf.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/vfprintf.c -- The core of all. + * stdio/printf/vfprintf.c -- The core of all. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "printf.h" #include diff --git a/arch/all/core/src/stdio/read.c b/arch/all/core/src/stdio/read.c index 1fb37d8..f3e1a5d 100644 --- a/arch/all/core/src/stdio/read.c +++ b/arch/all/core/src/stdio/read.c @@ -2,19 +2,21 @@ * stdio/read.c -- Read from a stream. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "stdio.h" diff --git a/arch/all/core/src/stdio/seek.c b/arch/all/core/src/stdio/seek.c index 6b72fea..50ad0c7 100644 --- a/arch/all/core/src/stdio/seek.c +++ b/arch/all/core/src/stdio/seek.c @@ -2,19 +2,21 @@ * stdio/seek.c -- Seek on a stream. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "stdio.h" diff --git a/arch/all/core/src/stdio/stdout.c b/arch/all/core/src/stdio/stdout.c index 88c7a17..448ed02 100644 --- a/arch/all/core/src/stdio/stdout.c +++ b/arch/all/core/src/stdio/stdout.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * stdio/stdout.c -- Standard output and error streams. + * stdio/stdout.c -- Standard output and error streams definition. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "stdio.h" diff --git a/arch/all/core/src/stdio/write.c b/arch/all/core/src/stdio/write.c index 1b2730f..5b17bdf 100644 --- a/arch/all/core/src/stdio/write.c +++ b/arch/all/core/src/stdio/write.c @@ -2,19 +2,21 @@ * stdio/write.c -- Write to a stream. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "stdio.h" diff --git a/arch/all/core/src/stdlib/div.c b/arch/all/core/src/stdlib/div.c index 4c8e4ec..7f9d149 100644 --- a/arch/all/core/src/stdlib/div.c +++ b/arch/all/core/src/stdlib/div.c @@ -2,19 +2,21 @@ * stdlib/div.c -- Division utilities. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/stdlib/rand.c b/arch/all/core/src/stdlib/rand.c index e8f8fd0..1985ed0 100644 --- a/arch/all/core/src/stdlib/rand.c +++ b/arch/all/core/src/stdlib/rand.c @@ -2,19 +2,21 @@ * stdlib/rand.c -- Basic random utilities. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/stdlib/wchar.c b/arch/all/core/src/stdlib/wchar.c index 4475fdd..a28847e 100644 --- a/arch/all/core/src/stdlib/wchar.c +++ b/arch/all/core/src/stdlib/wchar.c @@ -2,22 +2,21 @@ * stdlib/wchar.c -- Wide char-related utilities. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. * - * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * - * Functions from this file come from libfontcharacter, which is - * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/src/string/memchr.c b/arch/all/core/src/string/memchr.c index a40adf4..79d41f7 100644 --- a/arch/all/core/src/string/memchr.c +++ b/arch/all/core/src/string/memchr.c @@ -2,19 +2,21 @@ * string/memchr.c -- Look for a character in a memory area. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/string/memcpy.c b/arch/all/core/src/string/memcpy.c index 67653ad..964d2a0 100644 --- a/arch/all/core/src/string/memcpy.c +++ b/arch/all/core/src/string/memcpy.c @@ -2,19 +2,21 @@ * string/memcpy.c -- Copy the content of a memory area into another. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/string/memset.c b/arch/all/core/src/string/memset.c index 62ed9f7..3ae95bb 100644 --- a/arch/all/core/src/string/memset.c +++ b/arch/all/core/src/string/memset.c @@ -2,19 +2,21 @@ * string/memset.c -- Initialize the content of a memory area. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/core/src/string/strchr.c b/arch/all/core/src/string/strchr.c index 961eb0c..78007d6 100644 --- a/arch/all/core/src/string/strchr.c +++ b/arch/all/core/src/string/strchr.c @@ -2,19 +2,21 @@ * string/strchr.c -- Look for a character in a string. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/core/src/string/strlen.c b/arch/all/core/src/string/strlen.c index f630cec..2a0cc0a 100644 --- a/arch/all/core/src/string/strlen.c +++ b/arch/all/core/src/string/strlen.c @@ -2,19 +2,21 @@ * string/strlen.c -- Find out the length of a string. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/all/cpp/include/ios b/arch/all/cpp/include/ios index 5769ee6..6310f16 100644 --- a/arch/all/cpp/include/ios +++ b/arch/all/cpp/include/ios @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ I/O stream. + * ios -- C++ I/O streams. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_IOS_HPP) && !defined(_IOS_) # define _IOS_HPP 1 diff --git a/arch/all/cpp/include/iosfwd b/arch/all/cpp/include/iosfwd index cfcfbf4..1350113 100644 --- a/arch/all/cpp/include/iosfwd +++ b/arch/all/cpp/include/iosfwd @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ I/O library forward declarations. + * iosfwd -- C++ I/O library forward declarations. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_IOSFWD_HPP) && !defined(_IOSFWD_) # define _IOSFWD_HPP 1 diff --git a/arch/all/cpp/include/iostream b/arch/all/cpp/include/iostream index 1ac56a3..2d7139a 100644 --- a/arch/all/cpp/include/iostream +++ b/arch/all/cpp/include/iostream @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ I/O standard iostream object. + * iostream -- C++ I/O standard iostream object. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_IOSTREAM_) # define _IOSTREAM_HPP 1 diff --git a/arch/all/cpp/include/mystrbuf b/arch/all/cpp/include/mystrbuf index fc50fbf..d69a75d 100644 --- a/arch/all/cpp/include/mystrbuf +++ b/arch/all/cpp/include/mystrbuf @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ string buffer. + * mystrbuf -- C++ string buffer. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_MYSTRBUF_HPP) && !defined(_MYSTRBUF_) # define _MYSTRBUF_HPP 1 diff --git a/arch/all/cpp/include/new b/arch/all/cpp/include/new index 0d7b2ec..4be76cd 100644 --- a/arch/all/cpp/include/new +++ b/arch/all/cpp/include/new @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ new operator. + * new -- C++ new operator. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_NEW_HPP) && !defined(__NEW__) \ && !defined(_NEW_) && !defined(__NEW_H) diff --git a/arch/all/cpp/include/streambuf b/arch/all/cpp/include/streambuf index bf5dde9..6681c13 100644 --- a/arch/all/cpp/include/streambuf +++ b/arch/all/cpp/include/streambuf @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ stream buffer. + * streambuf -- C++ stream buffer. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_STREAMBUF_HPP) && !defined(_STREAMBUF_) # define _STREAMBUF_HPP 1 diff --git a/arch/all/cpp/include/string b/arch/all/cpp/include/string index 18fd448..61a6016 100644 --- a/arch/all/cpp/include/string +++ b/arch/all/cpp/include/string @@ -1,5 +1,22 @@ /* **************************************************************************** - * C++ string.h wrapper. + * string -- C++ string.h wrapper. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/cpp' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #if __USE_CXX98 && !defined(_STRING_HPP) && !defined(_STRING_) # define _STRING_HPP 1 diff --git a/arch/all/ensigdsp-sh/include/ensigdsp.h b/arch/all/ensigdsp-sh/include/ensigdsp.h index 3babf1a..0348cba 100644 --- a/arch/all/ensigdsp-sh/include/ensigdsp.h +++ b/arch/all/ensigdsp-sh/include/ensigdsp.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Ensigma DSP library. + * ensigdsp.h -- Ensigma DSP library. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/ensigdsp-sh' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_DECLS diff --git a/arch/all/iconv/include/iconv.h b/arch/all/iconv/include/iconv.h index fa61464..eaf6e7a 100644 --- a/arch/all/iconv/include/iconv.h +++ b/arch/all/iconv/include/iconv.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Generic Conversion Interface. + * iconv.h -- Generic Conversion Interface. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/iconv/src/conv/utf8_to_wchar.c b/arch/all/iconv/src/conv/utf8_to_wchar.c index 1babb62..3f9b854 100644 --- a/arch/all/iconv/src/conv/utf8_to_wchar.c +++ b/arch/all/iconv/src/conv/utf8_to_wchar.c @@ -2,19 +2,21 @@ * conv/utf8_to_wchar.c -- UTF-8 to `wchar_t`. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "../iconv.h" #define set_utf8_cookie(c_count, c_ini) { \ diff --git a/arch/all/iconv/src/conv/wchar_to_utf8.c b/arch/all/iconv/src/conv/wchar_to_utf8.c index 6eca45d..d528e0e 100644 --- a/arch/all/iconv/src/conv/wchar_to_utf8.c +++ b/arch/all/iconv/src/conv/wchar_to_utf8.c @@ -2,19 +2,21 @@ * conv/wchar_to_utf8.c -- `wchar_t` to UTF-8. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "../iconv.h" diff --git a/arch/all/iconv/src/iconv.c b/arch/all/iconv/src/iconv.c index f41a0c4..3d7c6a8 100644 --- a/arch/all/iconv/src/iconv.c +++ b/arch/all/iconv/src/iconv.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * iconv.c -- main function. + * iconv.c -- Main conversion function. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "iconv.h" diff --git a/arch/all/iconv/src/open.c b/arch/all/iconv/src/open.c index 876bd46..e7c8b35 100644 --- a/arch/all/iconv/src/open.c +++ b/arch/all/iconv/src/open.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * open.c -- open an iconv descriptor. + * open.c -- Open and close an iconv descriptor. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "iconv.h" diff --git a/arch/all/iconv/src/routes.c b/arch/all/iconv/src/routes.c index 0a9ef92..be5871a 100644 --- a/arch/all/iconv/src/routes.c +++ b/arch/all/iconv/src/routes.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * routes.c -- encoding routes. + * routes.c -- Encoding routes. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'all/iconv' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "iconv.h" #define ENT(FROM, TO, FUNC) \ diff --git a/arch/all/math/include/math.h b/arch/all/math/include/math.h index c32c002..429872d 100644 --- a/arch/all/math/include/math.h +++ b/arch/all/math/include/math.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Math functions. + * math.h -- Math functions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/math' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/math/include/mathf.h b/arch/all/math/include/mathf.h index 7b7e0a9..2922314 100644 --- a/arch/all/math/include/mathf.h +++ b/arch/all/math/include/mathf.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Math functions for floats. + * mathf.h -- Math functions for floats. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/math' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/all/stdcocorico/include/stdcocorico.h b/arch/all/stdcocorico/include/stdcocorico.h index 3299313..495eb18 100644 --- a/arch/all/stdcocorico/include/stdcocorico.h +++ b/arch/all/stdcocorico/include/stdcocorico.h @@ -1,5 +1,23 @@ /* **************************************************************************** - * Cocorico! Code in french. + * stdcocorico.h -- Cocorico! Code in french. + * Copyright (C) 2014 Simon "Gee" Giraudot + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'all/stdcocorico' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/core-crt/src/crt0.c b/arch/casiowin/core-crt/src/crt0.c index fd00ba7..7cee609 100644 --- a/arch/casiowin/core-crt/src/crt0.c +++ b/arch/casiowin/core-crt/src/crt0.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * crt0.c -- main C runtime initialization. + * crt0.c -- Main C runtime initialization. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/core-crt' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/core/bits/time.h b/arch/casiowin/core/bits/time.h index 35f441c..ffa93b0 100644 --- a/arch/casiowin/core/bits/time.h +++ b/arch/casiowin/core/bits/time.h @@ -1,2 +1,22 @@ +/* **************************************************************************** + * time.h -- Standard time header internals. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/core' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . + * ************************************************************************* */ /* Number of ticks per second. */ # define __CLOCKS_PER_SEC 120 diff --git a/arch/casiowin/core/src/assert/assert.c b/arch/casiowin/core/src/assert/assert.c index 09ee165..9e653cc 100644 --- a/arch/casiowin/core/src/assert/assert.c +++ b/arch/casiowin/core/src/assert/assert.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * assert/assert.c -- make an assertion failed pop-up. + * assert/assert.c -- Make an assertion failed pop-up. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/core' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/easy-grayscales/include/draw.h b/arch/casiowin/easy-grayscales/include/draw.h index 5357250..010b224 100644 --- a/arch/casiowin/easy-grayscales/include/draw.h +++ b/arch/casiowin/easy-grayscales/include/draw.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Easy grayscale's draw utilities. + * draw.h -- Easy grayscale's draw utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/easy-grayscales' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/easy-grayscales/include/gray.h b/arch/casiowin/easy-grayscales/include/gray.h index fc9696c..7838f36 100644 --- a/arch/casiowin/easy-grayscales/include/gray.h +++ b/arch/casiowin/easy-grayscales/include/gray.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Easy grayscale's gray drawing utilities. + * gray.h -- Easy grayscale's gray drawing utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/easy-grayscales' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/easy-input/include/EasyInput.h b/arch/casiowin/easy-input/include/EasyInput.h index 2862923..57bc761 100644 --- a/arch/casiowin/easy-input/include/EasyInput.h +++ b/arch/casiowin/easy-input/include/EasyInput.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * Easy input. + * EasyInput.h -- Easy input. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/easy-input' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/easy-input/src/main.c b/arch/casiowin/easy-input/src/main.c index 27921d7..24c408d 100644 --- a/arch/casiowin/easy-input/src/main.c +++ b/arch/casiowin/easy-input/src/main.c @@ -3,19 +3,21 @@ * Copyright (C) 2015-2016 Louis "Dark Storm" Gatin * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/easy-input' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/fxlib/include/commbios.h b/arch/casiowin/fxlib/include/commbios.h index 8ae8145..b9aa7e0 100644 --- a/arch/casiowin/fxlib/include/commbios.h +++ b/arch/casiowin/fxlib/include/commbios.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's communication definitions. + * commbios.h -- fxlib's communication definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if __USE_FXLIB_UNOFFICIAL diff --git a/arch/casiowin/fxlib/include/dispbios.h b/arch/casiowin/fxlib/include/dispbios.h index cafede2..bf2fbc4 100644 --- a/arch/casiowin/fxlib/include/dispbios.h +++ b/arch/casiowin/fxlib/include/dispbios.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's display definitions. + * dispbios.h -- fxlib's display definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_NAMESPACE_FXLIB diff --git a/arch/casiowin/fxlib/include/filebios.h b/arch/casiowin/fxlib/include/filebios.h index 9bbe1e6..a7133d1 100644 --- a/arch/casiowin/fxlib/include/filebios.h +++ b/arch/casiowin/fxlib/include/filebios.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's file definitions. + * filebios.h -- fxlib's file definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/fxlib/include/fxlib.h b/arch/casiowin/fxlib/include/fxlib.h index 9ec8614..4528e1a 100644 --- a/arch/casiowin/fxlib/include/fxlib.h +++ b/arch/casiowin/fxlib/include/fxlib.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * library for interacting with CASIO's fx calculators. + * fxlib.h -- library for interacting with CASIO's fx calculators. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/app.h b/arch/casiowin/fxlib/include/fxlib/app.h index baebde8..f25a590 100644 --- a/arch/casiowin/fxlib/include/fxlib/app.h +++ b/arch/casiowin/fxlib/include/fxlib/app.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's app management. + * fxlib/app.h -- fxlib's app management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if __USE_FXLIB_UNOFFICIAL diff --git a/arch/casiowin/fxlib/include/fxlib/battery.h b/arch/casiowin/fxlib/include/fxlib/battery.h index 3c54a2b..e04ec7b 100644 --- a/arch/casiowin/fxlib/include/fxlib/battery.h +++ b/arch/casiowin/fxlib/include/fxlib/battery.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's battery management. + * fxlib/battery.h -- fxlib's battery management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if __USE_FXLIB_UNOFFICIAL diff --git a/arch/casiowin/fxlib/include/fxlib/bcd.h b/arch/casiowin/fxlib/include/fxlib/bcd.h index 4c45dbc..505d60d 100644 --- a/arch/casiowin/fxlib/include/fxlib/bcd.h +++ b/arch/casiowin/fxlib/include/fxlib/bcd.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's BCD numbers management. + * fxlib/bcd.h -- fxlib's BCD numbers management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if __USE_FXLIB_UNOFFICIAL diff --git a/arch/casiowin/fxlib/include/fxlib/cdefs.h b/arch/casiowin/fxlib/include/fxlib/cdefs.h index 58824b8..4d1d3a6 100644 --- a/arch/casiowin/fxlib/include/fxlib/cdefs.h +++ b/arch/casiowin/fxlib/include/fxlib/cdefs.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's C definitions. + * fxlib/cdefs.h -- fxlib's C definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/fxlib/include/fxlib/clock.h b/arch/casiowin/fxlib/include/fxlib/clock.h index f264c44..16a8eaf 100644 --- a/arch/casiowin/fxlib/include/fxlib/clock.h +++ b/arch/casiowin/fxlib/include/fxlib/clock.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's clock management. + * fxlib/clock.h -- fxlib's clock management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #if __USE_FXLIB_UNOFFICIAL diff --git a/arch/casiowin/fxlib/include/fxlib/comm.h b/arch/casiowin/fxlib/include/fxlib/comm.h index b124ebb..ec8ba6d 100644 --- a/arch/casiowin/fxlib/include/fxlib/comm.h +++ b/arch/casiowin/fxlib/include/fxlib/comm.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's communication management. + * fxlib/comm.h -- fxlib's communication management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/display.h b/arch/casiowin/fxlib/include/fxlib/display.h index 7bf6a88..b5049ea 100644 --- a/arch/casiowin/fxlib/include/fxlib/display.h +++ b/arch/casiowin/fxlib/include/fxlib/display.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's display management. + * fxlib/display.h -- fxlib's display management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/file.h b/arch/casiowin/fxlib/include/fxlib/file.h index 68285f6..c72d640 100644 --- a/arch/casiowin/fxlib/include/fxlib/file.h +++ b/arch/casiowin/fxlib/include/fxlib/file.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's file management. + * fxlib/file.h -- fxlib's file management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/keyboard.h b/arch/casiowin/fxlib/include/fxlib/keyboard.h index fee390e..036e128 100644 --- a/arch/casiowin/fxlib/include/fxlib/keyboard.h +++ b/arch/casiowin/fxlib/include/fxlib/keyboard.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's keyboard management. + * fxlib/keyboard.h -- fxlib's keyboard management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/serial.h b/arch/casiowin/fxlib/include/fxlib/serial.h index 66c6d5b..f16861c 100644 --- a/arch/casiowin/fxlib/include/fxlib/serial.h +++ b/arch/casiowin/fxlib/include/fxlib/serial.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's serial management. + * fxlib/serial.h -- fxlib's serial management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/fxlib/syscall.h b/arch/casiowin/fxlib/include/fxlib/syscall.h index 637aa76..02c3cf6 100644 --- a/arch/casiowin/fxlib/include/fxlib/syscall.h +++ b/arch/casiowin/fxlib/include/fxlib/syscall.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's syscall definition for ASM-C. + * fxlib/syscall.h -- fxlib's syscall definition for ASM-C. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* Make a syscall. */ diff --git a/arch/casiowin/fxlib/include/fxlib/timer.h b/arch/casiowin/fxlib/include/fxlib/timer.h index 8fdb9ff..6b5ec72 100644 --- a/arch/casiowin/fxlib/include/fxlib/timer.h +++ b/arch/casiowin/fxlib/include/fxlib/timer.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's timer management. + * fxlib/timer.h -- fxlib's timer management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/fxlib/include/keybios.h b/arch/casiowin/fxlib/include/keybios.h index a4c0167..35e6aff 100644 --- a/arch/casiowin/fxlib/include/keybios.h +++ b/arch/casiowin/fxlib/include/keybios.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's keyboard definitions. + * keybios.h -- fxlib's keyboard definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_NAMESPACE_FXLIB diff --git a/arch/casiowin/fxlib/include/timer.h b/arch/casiowin/fxlib/include/timer.h index 2b66d22..66c19db 100644 --- a/arch/casiowin/fxlib/include/timer.h +++ b/arch/casiowin/fxlib/include/timer.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * fxlib's timer definitions. + * timer.h -- fxlib's timer definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include __BEGIN_NAMESPACE_FXLIB diff --git a/arch/casiowin/fxlib/src/dirent/error.c b/arch/casiowin/fxlib/src/dirent/error.c index eb0535a..7e3ed42 100644 --- a/arch/casiowin/fxlib/src/dirent/error.c +++ b/arch/casiowin/fxlib/src/dirent/error.c @@ -2,19 +2,21 @@ * dirent/error.c -- Standard error number from file-specific error. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "dirent.h" diff --git a/arch/casiowin/fxlib/src/dirent/open.c b/arch/casiowin/fxlib/src/dirent/open.c index a86f7a3..fcfa84f 100644 --- a/arch/casiowin/fxlib/src/dirent/open.c +++ b/arch/casiowin/fxlib/src/dirent/open.c @@ -2,19 +2,21 @@ * dirent/open.c -- Open a directory stream. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include "dirent.h" #include diff --git a/arch/casiowin/fxlib/src/file/sdk.c b/arch/casiowin/fxlib/src/file/sdk.c index 19f332b..f92105f 100644 --- a/arch/casiowin/fxlib/src/file/sdk.c +++ b/arch/casiowin/fxlib/src/file/sdk.c @@ -1,20 +1,22 @@ /* **************************************************************************** - * file/sdk.c -- file related functions. + * file/sdk.c -- File related functions. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/fxlib/src/timer/sdk.c b/arch/casiowin/fxlib/src/timer/sdk.c index e3d7776..065ab3b 100644 --- a/arch/casiowin/fxlib/src/timer/sdk.c +++ b/arch/casiowin/fxlib/src/timer/sdk.c @@ -2,22 +2,21 @@ * timer/sdk.c -- fxlib-compatible timer functions. * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/fxlib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. * - * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * - * Those two functions have been rewritten by Simon Lothar, I've just been - * adapting them for an integration in libcarrot. - cakeisalie5 + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/app.h b/arch/casiowin/libfxsys/include/app.h index 7e0539e..7d3e4b6 100644 --- a/arch/casiowin/libfxsys/include/app.h +++ b/arch/casiowin/libfxsys/include/app.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' app management. + * app.h -- libfxsys' app management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/asm.h b/arch/casiowin/libfxsys/include/asm.h index fc27ab7..214de0b 100644 --- a/arch/casiowin/libfxsys/include/asm.h +++ b/arch/casiowin/libfxsys/include/asm.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * libfxsys' assembly utilities. + * asm.h -- libfxsys' assembly utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* Make the syscall entry */ diff --git a/arch/casiowin/libfxsys/include/disp.h b/arch/casiowin/libfxsys/include/disp.h index c773d88..00990a7 100644 --- a/arch/casiowin/libfxsys/include/disp.h +++ b/arch/casiowin/libfxsys/include/disp.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' display management. + * disp.h -- libfxsys' display management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/file.h b/arch/casiowin/libfxsys/include/file.h index 89d4331..c8ce955 100644 --- a/arch/casiowin/libfxsys/include/file.h +++ b/arch/casiowin/libfxsys/include/file.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' file management. + * file.h -- libfxsys' file management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/key.h b/arch/casiowin/libfxsys/include/key.h index f9a7006..41d98cd 100644 --- a/arch/casiowin/libfxsys/include/key.h +++ b/arch/casiowin/libfxsys/include/key.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' keyboard management. + * key.h -- libfxsys' keyboard management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/keycodes.h b/arch/casiowin/libfxsys/include/keycodes.h index 7f5c08a..64dfe09 100644 --- a/arch/casiowin/libfxsys/include/keycodes.h +++ b/arch/casiowin/libfxsys/include/keycodes.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' keyboard definitions. + * keycodes.h -- libfxsys' keyboard definitions. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/official.h b/arch/casiowin/libfxsys/include/official.h index 58f1eb1..515fea1 100644 --- a/arch/casiowin/libfxsys/include/official.h +++ b/arch/casiowin/libfxsys/include/official.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * libfxsys' official calls. + * official.h -- libfxsys' official calls. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ /* Technically, this macro is supposed to tell the headers we include not * to define any non-official system call/interaction, but you know... diff --git a/arch/casiowin/libfxsys/include/print.h b/arch/casiowin/libfxsys/include/print.h index c44aa2d..5e24ac5 100644 --- a/arch/casiowin/libfxsys/include/print.h +++ b/arch/casiowin/libfxsys/include/print.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' character display management. + * print.h -- libfxsys' character display management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/rtc.h b/arch/casiowin/libfxsys/include/rtc.h index 76fc59b..864bfd1 100644 --- a/arch/casiowin/libfxsys/include/rtc.h +++ b/arch/casiowin/libfxsys/include/rtc.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' clock management. + * rtc.h -- libfxsys' clock management. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/libfxsys/include/syscall.h b/arch/casiowin/libfxsys/include/syscall.h index 13b726f..16df0a5 100644 --- a/arch/casiowin/libfxsys/include/syscall.h +++ b/arch/casiowin/libfxsys/include/syscall.h @@ -1,4 +1,21 @@ /* **************************************************************************** - * libfxsys' assembly utilities. + * syscall.h -- libfxsys' assembly utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/libfxsys' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/monochromelib/include/MonochromeLib.h b/arch/casiowin/monochromelib/include/MonochromeLib.h index 8bd65d7..ca046a7 100644 --- a/arch/casiowin/monochromelib/include/MonochromeLib.h +++ b/arch/casiowin/monochromelib/include/MonochromeLib.h @@ -1,4 +1,22 @@ /* **************************************************************************** - * MonochromeLib's main header alias. + * MonochromeLib.h -- MonochromeLib's main header alias. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include diff --git a/arch/casiowin/monochromelib/include/monochrome.h b/arch/casiowin/monochromelib/include/monochrome.h index 9f27e90..92cb359 100644 --- a/arch/casiowin/monochromelib/include/monochrome.h +++ b/arch/casiowin/monochromelib/include/monochrome.h @@ -1,5 +1,23 @@ /* **************************************************************************** - * MonochromeLib's main header. + * monochrome.h -- MonochromeLib's main header. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/arch/casiowin/monochromelib/src/bmp_16_and.c b/arch/casiowin/monochromelib/src/bmp_16_and.c index d543d10..6a3a916 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_and.c +++ b/arch/casiowin/monochromelib/src/bmp_16_and.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_and.c -- Display a 16x16 BMP, using ANDs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_and(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_16_and_cl.c b/arch/casiowin/monochromelib/src/bmp_16_and_cl.c index 651029b..55ab88b 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_and_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_16_and_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_and_cl.c -- Display a 16x16 BMP, using ANDs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_and_cl(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_16_or.c b/arch/casiowin/monochromelib/src/bmp_16_or.c index d2339a0..866e3b5 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_or.c +++ b/arch/casiowin/monochromelib/src/bmp_16_or.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_or.c -- Display a 16x16 BMP, using ORs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_or(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_16_or_cl.c b/arch/casiowin/monochromelib/src/bmp_16_or_cl.c index 2e688da..19325d6 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_or_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_16_or_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_or_cl.c -- Display a 16x16 BMP, using ORs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_or_cl(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_16_xor.c b/arch/casiowin/monochromelib/src/bmp_16_xor.c index e7e2a1b..f3798ab 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_xor.c +++ b/arch/casiowin/monochromelib/src/bmp_16_xor.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_xor.c -- Display a 16x16 BMP, using XORs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_xor(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c index 0c425ce..16ad6f8 100644 --- a/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_16_xor_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_16_xor_cl.c -- Display a 16x16 BMP, using XORs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_16_xor_cl(const unsigned short *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_and.c b/arch/casiowin/monochromelib/src/bmp_8_and.c index 0484bff..f073c25 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_and.c +++ b/arch/casiowin/monochromelib/src/bmp_8_and.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_8_and.c -- Display a 8x8 BMP, using ANDs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_and(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_and_cl.c b/arch/casiowin/monochromelib/src/bmp_8_and_cl.c index 12dc97b..0b2613f 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_and_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_8_and_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_8_and_cl.c -- Display a 8x8 BMP, using ANDs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_and_cl(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_or.c b/arch/casiowin/monochromelib/src/bmp_8_or.c index ba83f89..3a6a2cb 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_or.c +++ b/arch/casiowin/monochromelib/src/bmp_8_or.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_8_or.c -- Display a 8x8 BMP, using ORs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_or(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_or_cl.c b/arch/casiowin/monochromelib/src/bmp_8_or_cl.c index 6319261..43312a5 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_or_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_8_or_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_8_or_cl.c -- Display a 8x8 BMP, using ORs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_or_cl(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_xor.c b/arch/casiowin/monochromelib/src/bmp_8_xor.c index b0add7b..455a0c9 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_xor.c +++ b/arch/casiowin/monochromelib/src/bmp_8_xor.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * bmp_8_xor.c -- Display a 8x8 BMP, using XOR. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * bmp_8_xor.c -- Display a 8x8 BMP, using XORs. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_xor(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c index 6940cbd..1cff321 100644 --- a/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_8_xor_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * bmp_8_xor_cl.c -- Display a 8x8 BMP, using XOR and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * bmp_8_xor_cl.c -- Display a 8x8 BMP, using XORs and clipping. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_8_xor_cl(const unsigned char *bmp, int x, int y) diff --git a/arch/casiowin/monochromelib/src/bmp_and.c b/arch/casiowin/monochromelib/src/bmp_and.c index bcb0cc8..bc76b67 100644 --- a/arch/casiowin/monochromelib/src/bmp_and.c +++ b/arch/casiowin/monochromelib/src/bmp_and.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_and.c -- Display a BMP, using ANDs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_and(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/bmp_and_cl.c b/arch/casiowin/monochromelib/src/bmp_and_cl.c index a6416b2..a4da6b4 100644 --- a/arch/casiowin/monochromelib/src/bmp_and_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_and_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_and_cl.c -- Display a BMP, using ANDs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_and_cl(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/bmp_or.c b/arch/casiowin/monochromelib/src/bmp_or.c index f5ed2ba..95e01d9 100644 --- a/arch/casiowin/monochromelib/src/bmp_or.c +++ b/arch/casiowin/monochromelib/src/bmp_or.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_or.c -- Display a BMP, using ORs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_or(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/bmp_or_cl.c b/arch/casiowin/monochromelib/src/bmp_or_cl.c index df054b1..7ccc2d8 100644 --- a/arch/casiowin/monochromelib/src/bmp_or_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_or_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_or_cl.c -- Display a BMP, using ORs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_or_cl(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/bmp_xor.c b/arch/casiowin/monochromelib/src/bmp_xor.c index b34f8aa..e78d535 100644 --- a/arch/casiowin/monochromelib/src/bmp_xor.c +++ b/arch/casiowin/monochromelib/src/bmp_xor.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_xor.c -- Display a BMP, using XORs. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_xor(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/bmp_xor_cl.c b/arch/casiowin/monochromelib/src/bmp_xor_cl.c index 8ebd71c..c857390 100644 --- a/arch/casiowin/monochromelib/src/bmp_xor_cl.c +++ b/arch/casiowin/monochromelib/src/bmp_xor_cl.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * bmp_xor_cl.c -- Display a BMP, using XORs and clipping. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_bmp_xor_cl(const unsigned char *bmp, int x, int y, int width, int height) diff --git a/arch/casiowin/monochromelib/src/circle.c b/arch/casiowin/monochromelib/src/circle.c index 827c96c..7a0ac68 100644 --- a/arch/casiowin/monochromelib/src/circle.c +++ b/arch/casiowin/monochromelib/src/circle.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * circle.c -- Display a circle. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * circle.c -- Draw a circle. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_circle(int x, int y, int radius, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/clear_screen.c b/arch/casiowin/monochromelib/src/clear_screen.c index ac22fd1..34a4b05 100644 --- a/arch/casiowin/monochromelib/src/clear_screen.c +++ b/arch/casiowin/monochromelib/src/clear_screen.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * clear_screen.c -- Clear the screen. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_clear_screen() diff --git a/arch/casiowin/monochromelib/src/clear_vram.c b/arch/casiowin/monochromelib/src/clear_vram.c index 489ea6d..1a0cf57 100644 --- a/arch/casiowin/monochromelib/src/clear_vram.c +++ b/arch/casiowin/monochromelib/src/clear_vram.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * clear_vram.c -- Clear the VRAM. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_clear_vram() diff --git a/arch/casiowin/monochromelib/src/display_vram.c b/arch/casiowin/monochromelib/src/display_vram.c index 895e7a5..04bb6f7 100644 --- a/arch/casiowin/monochromelib/src/display_vram.c +++ b/arch/casiowin/monochromelib/src/display_vram.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * display_vram.c -- Display the VRAM. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * display_vram.c -- Update the screen content. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_display_vram() diff --git a/arch/casiowin/monochromelib/src/ellipse.c b/arch/casiowin/monochromelib/src/ellipse.c index 6434e71..c4510a9 100644 --- a/arch/casiowin/monochromelib/src/ellipse.c +++ b/arch/casiowin/monochromelib/src/ellipse.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * ellipse.c -- Display an ellipse - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * ellipse.c -- Draw an ellipse. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_ellipse(int x, int y, int radius1, int radius2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/ellipse_in_rect.c b/arch/casiowin/monochromelib/src/ellipse_in_rect.c index b74533e..f552a49 100644 --- a/arch/casiowin/monochromelib/src/ellipse_in_rect.c +++ b/arch/casiowin/monochromelib/src/ellipse_in_rect.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * ellipse_in_rect.c -- Display an ellipse in a rectangle. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * ellipse_in_rect.c -- Draw an ellipse in a rectangle. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_ellipse_in_rect(int x1, int y1, int x2, int y2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/filled_circle.c b/arch/casiowin/monochromelib/src/filled_circle.c index cf616fd..3448054 100644 --- a/arch/casiowin/monochromelib/src/filled_circle.c +++ b/arch/casiowin/monochromelib/src/filled_circle.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * filled_circle.c -- Display a filled circle. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * filled_circle.c -- Draw a filled circle. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_filled_circle(int x, int y, int radius, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/filled_ellipse.c b/arch/casiowin/monochromelib/src/filled_ellipse.c index d2149ca..64fbab1 100644 --- a/arch/casiowin/monochromelib/src/filled_ellipse.c +++ b/arch/casiowin/monochromelib/src/filled_ellipse.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * filled_ellipse.c -- Display a filled ellipse. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * filled_ellipse.c -- Draw a filled ellipse. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_filled_ellipse(int x, int y, int radius1, int radius2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c b/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c index bf250f6..d85bcd9 100644 --- a/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c +++ b/arch/casiowin/monochromelib/src/filled_ellipse_in_rect.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * filled_ellipse_in_rect.c -- Display a filled ellipse in a rectangle. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * filled_ellipse_in_rect.c -- Draw a filled ellipse in a rectangle. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_filled_ellipse_in_rect(int x1, int y1, int x2, int y2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/filled_polygon.c b/arch/casiowin/monochromelib/src/filled_polygon.c index 85f8c35..1b31f12 100644 --- a/arch/casiowin/monochromelib/src/filled_polygon.c +++ b/arch/casiowin/monochromelib/src/filled_polygon.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * filled_polygon.c -- Display a filled polygon. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * filled_polygon.c -- Draw a filled polygon. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include static int ML_filled_polygon_quicksord_partition(int *t, int p, int r) diff --git a/arch/casiowin/monochromelib/src/get_contrast.c b/arch/casiowin/monochromelib/src/get_contrast.c index ad19f78..78f9c94 100644 --- a/arch/casiowin/monochromelib/src/get_contrast.c +++ b/arch/casiowin/monochromelib/src/get_contrast.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * get_contrast.c -- Get the screen contrast. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include unsigned char ML_get_contrast() diff --git a/arch/casiowin/monochromelib/src/horizontal_line.c b/arch/casiowin/monochromelib/src/horizontal_line.c index cdfffc9..0b4dfb7 100644 --- a/arch/casiowin/monochromelib/src/horizontal_line.c +++ b/arch/casiowin/monochromelib/src/horizontal_line.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * horizontal_line.c -- Draw a horizontal line. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_horizontal_line(int y, int x1, int x2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/horizontal_scroll.c b/arch/casiowin/monochromelib/src/horizontal_scroll.c index 22c0122..279a166 100644 --- a/arch/casiowin/monochromelib/src/horizontal_scroll.c +++ b/arch/casiowin/monochromelib/src/horizontal_scroll.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * horizontal_scroll.c -- Scroll the screen. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * horizontal_scroll.c -- Scroll the screen horizontally. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_horizontal_scroll(int scroll) diff --git a/arch/casiowin/monochromelib/src/line.c b/arch/casiowin/monochromelib/src/line.c index d1a66b7..af17cd4 100644 --- a/arch/casiowin/monochromelib/src/line.c +++ b/arch/casiowin/monochromelib/src/line.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * line.c -- Draw a line. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_line(int x1, int y1, int x2, int y2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/pixel.c b/arch/casiowin/monochromelib/src/pixel.c index 94e0fe4..094a6be 100644 --- a/arch/casiowin/monochromelib/src/pixel.c +++ b/arch/casiowin/monochromelib/src/pixel.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * pixel.c -- Interact with a pixel. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * pixel.c -- Draw a pixel. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_pixel(int x, int y, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/pixel_test.c b/arch/casiowin/monochromelib/src/pixel_test.c index 4c5b1aa..4bf552f 100644 --- a/arch/casiowin/monochromelib/src/pixel_test.c +++ b/arch/casiowin/monochromelib/src/pixel_test.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * pixel_test.c -- Test a pixel. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * pixel_test.c -- Get a pixel's value. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include ML_Color ML_pixel_test(int x, int y) diff --git a/arch/casiowin/monochromelib/src/point.c b/arch/casiowin/monochromelib/src/point.c index d4236a8..eb8d9d4 100644 --- a/arch/casiowin/monochromelib/src/point.c +++ b/arch/casiowin/monochromelib/src/point.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * point.c -- Draw a dot. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_point(int x, int y, int width, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/polygon.c b/arch/casiowin/monochromelib/src/polygon.c index 26bd946..6884748 100644 --- a/arch/casiowin/monochromelib/src/polygon.c +++ b/arch/casiowin/monochromelib/src/polygon.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * polygon.c -- Draw a polygon. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_polygon(const int *x, const int *y, int nb_vertices, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/rectangle.c b/arch/casiowin/monochromelib/src/rectangle.c index 8f28ed5..2a7771c 100644 --- a/arch/casiowin/monochromelib/src/rectangle.c +++ b/arch/casiowin/monochromelib/src/rectangle.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * rectangle.c -- Draw a rectangle. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_rectangle(int x1, int y1, int x2, int y2, int border_width, ML_Color border_color, ML_Color fill_color) diff --git a/arch/casiowin/monochromelib/src/set_contrast.c b/arch/casiowin/monochromelib/src/set_contrast.c index b0c365e..5169197 100644 --- a/arch/casiowin/monochromelib/src/set_contrast.c +++ b/arch/casiowin/monochromelib/src/set_contrast.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * set_contrast.c -- Set the screen contrast. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_set_contrast(unsigned char contrast) diff --git a/arch/casiowin/monochromelib/src/vertical_line.c b/arch/casiowin/monochromelib/src/vertical_line.c index 75bda41..59e6ae1 100644 --- a/arch/casiowin/monochromelib/src/vertical_line.c +++ b/arch/casiowin/monochromelib/src/vertical_line.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** +/* **************************************************************************** * vertical_line.c -- Draw a vertical line. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_vertical_line(int x, int y1, int y2, ML_Color color) diff --git a/arch/casiowin/monochromelib/src/vertical_scroll.c b/arch/casiowin/monochromelib/src/vertical_scroll.c index 8e5892e..4c0ca51 100644 --- a/arch/casiowin/monochromelib/src/vertical_scroll.c +++ b/arch/casiowin/monochromelib/src/vertical_scroll.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * vertical_scroll.c -- Scroll the screen vertically. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * vertical_scroll.c -- Draw a vertical scroll. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include void ML_vertical_scroll(int scroll) diff --git a/arch/casiowin/monochromelib/src/vram_adress.c b/arch/casiowin/monochromelib/src/vram_adress.c index 0b083cc..67d9d48 100644 --- a/arch/casiowin/monochromelib/src/vram_adress.c +++ b/arch/casiowin/monochromelib/src/vram_adress.c @@ -1,22 +1,24 @@ -/* ***************************************************************************** - * vram_address.c -- Get the VRAM address. - * Copyright (C) 2011 Pierre "PierrotLL" Le Gall +/* **************************************************************************** + * vram_adress.c -- Get the VRAM address. + * Copyright (C) 2011 Pierre "PierrotLL" Le Gall * Copyright (C) 2016-2017 Thomas "Cakeisalie5" Touhey * - * This file is part of libcarrot. - * libcarrot is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 3.0 of the License, - * or (at your option) any later version. + * This file is part of the 'casiowin/monochromelib' module, + * in libcarrot, an experimental modular libc project. * - * libcarrot is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with the libcarrot; if not, see . - * ************************************************************************** */ + * along with this file. If not, see . + * ************************************************************************* */ #include char* ML_vram_adress() diff --git a/arch/casiowin/revolutionfx/include/revolution.h b/arch/casiowin/revolutionfx/include/revolution.h index e53a1d0..ef38f23 100644 --- a/arch/casiowin/revolutionfx/include/revolution.h +++ b/arch/casiowin/revolutionfx/include/revolution.h @@ -1,5 +1,22 @@ /* **************************************************************************** - * RevolutionFX's main header. + * revolution.h -- RevolutionFX's main header. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of the 'casiowin/revolutionfx' module, + * in libcarrot, an experimental modular libc project. + * + * This file is free software: you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this file. If not, see . * ************************************************************************* */ #include #include diff --git a/tools/update_license.py b/tools/update_license.py deleted file mode 100755 index 9e877fe..0000000 --- a/tools/update_license.py +++ /dev/null @@ -1,132 +0,0 @@ -#!/usr/bin/env python3 -""" This tool updates the top-level comment on each source and include file - using the copyright.yml and roles.yml files. -""" - -import os, textwrap -from Internals import * - -__lgpl3_statement = """\ -This file is free software: you can redistribute it and/or modify \ -it under the terms of the GNU Lesser General Public License as published by \ -the Free Software Foundation, either version 3 of the License, or \ -(at your option) any later version. - -This file is distributed in the hope that it will be useful, \ -but WITHOUT ANY WARRANTY; without even the implied warranty of \ -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \ -GNU Lesser General Lesser Public License for more details. - -You should have received a copy of the GNU Lesser General Public License \ -along with this file. If not, see .""" - -def __get_license_statement(license): - if license != 'LGPL-3': - return 'This license is unknown.' - return __lgpl3_statement -#*****************************************************************************# -# Set up the arguments parser # -#*****************************************************************************# -argparser = CarrotArgumentParser() - -# No arguments for now. -#*****************************************************************************# -# Main function # -#*****************************************************************************# -__file_groups = [ - ('include', ['h', 'hpp', None]), - ('src', ['c', 'cpp', 'cc', 'cp', 'cxx', 'c++']) -] - -def __split_path(path): - """ Split a path. """ - - tree, leaf = os.path.split(path) - if not tree: return (leaf,) - return __split_path(tree) + (leaf,) - -def __get_role(*path, module=None): - """ Get a path role from a module. """ - - path = __split_path(os.path.join(*path)) - if not path in module.roles: - return "(unknown role)" - return module.roles[path] - -def __repeat(element): - while True: - yield element - -def __get_files(name, module): - """ Returns the (name, path, role, copyrights, license) list. """ - - files = [] - for directory, ext in __file_groups: - lst = module.getfiles(directory, ext=ext) - - fp = map(lambda x: module.getpath(directory, x), lst) - names = map(lambda x: '/'.join(__split_path(x)), lst) - roles = map(lambda x: __get_role(directory, x, module=module), lst) - files.extend(zip(names, fp, roles, __repeat(name))) - - return files - -def main(): - """ Main function for the `update_license.py` program. """ - - # Parse the arguments. - args = argparser.parse_args() - - # Get the project root. - root = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) - - # Get the copyright rules. - rules = get_copyright_rules(root) - - # Print the list of all available modules. - g = SourceGlobal(os.path.join(root, 'arch')) - modules = g.getallmodules() - - # Get all of the files in the available modules. - files = [] - for key, module in modules.items(): - files.extend(__get_files(key, module)) - - # Print the information. - first = True - for name, path, role, module_name in files: - authors, license = get_copyright(rules, path) - - if first: first = False - else: print("") - print("%s:"%path) - print("") - - print('/* ' + '*' * 76) - print(' * %s -- %s'%(name, role)) - - for (start, end), name, mail in authors: - ds = '%s-%s'%(start, end) if start < end else '%s'%start - print(" * Copyright (C) %s %s <%s>" \ - % (ds, name, mail)) - - print(" *") - print(" * This file is part of the '%s' module,"%module_name) - print(" * in libcarrot, an experimental modular libc project.") - - statement = __get_license_statement(license) - if statement: - print(" *") - for stline in statement.split('\n'): - par = textwrap.wrap(stline, 75, replace_whitespace=None) - if not par: par = [''] - for line in par: - if not line: print(' *') - else: print(' *', line) - - print(' * ' + '*' * 73 + ' */') - -if __name__ == "__main__": - do_main(main) - -# End of file. diff --git a/tools/updatesource.py b/tools/updatesource.py new file mode 100755 index 0000000..d06d9f2 --- /dev/null +++ b/tools/updatesource.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 +""" This tool updates the top-level comment on each source and include file + using the copyright.yml and roles.yml files. +""" + +import os, textwrap +from Internals import * + +__lgpl3_statement = """\ +This file is free software: you can redistribute it and/or modify \ +it under the terms of the GNU Lesser General Public License as published by \ +the Free Software Foundation, either version 3 of the License, or \ +(at your option) any later version. + +This file is distributed in the hope that it will be useful, \ +but WITHOUT ANY WARRANTY; without even the implied warranty of \ +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \ +GNU Lesser General Lesser Public License for more details. + +You should have received a copy of the GNU Lesser General Public License \ +along with this file. If not, see .""" + +def __get_license_statement(license): + if license != 'LGPL-3': + return 'This license is unknown.' + return __lgpl3_statement +#*****************************************************************************# +# Set up the arguments parser # +#*****************************************************************************# +argparser = CarrotArgumentParser() + +# No arguments for now. +#*****************************************************************************# +# Main function # +#*****************************************************************************# +__file_groups = [ + ('include', ['h', 'hpp', None]), + ('bits', ['h', 'hpp', None]), + ('src', ['c', 'cpp', 'cc', 'cp', 'cxx', 'c++']) +] + +def __split_path(path): + """ Split a path. """ + + tree, leaf = os.path.split(path) + if not tree: return (leaf,) + return __split_path(tree) + (leaf,) + +def __get_role(*path, module=None): + """ Get a path role from a module. """ + + path = __split_path(os.path.join(*path)) + if not path in module.roles: + return "(unknown role)" + return module.roles[path] + +def __repeat(element): + """ Simple generator that repeateadly repeats a given element. """ + + while True: + yield element + +def __get_files(name, module): + """ Returns the (name, path, role, copyrights, license) list. """ + + files = [] + for directory, ext in __file_groups: + lst = module.getfiles(directory, ext=ext) + + fp = map(lambda x: module.getpath(directory, x), lst) + names = map(lambda x: '/'.join(__split_path(x)), lst) + roles = map(lambda x: __get_role(directory, x, module=module), lst) + files.extend(zip(names, fp, roles, __repeat(name))) + + return files + +def __make_header(s, sep='\n'): + """ Make a bootiful header. """ + + __top = '/* ' + '*' * 76 + __bot = ' * ' + '*' * 73 + ' */' + + mid = sep.join(map(lambda x: ' *' + (' ' if x else '') + x, + s.splitlines())) + fin = sep.join((__top, mid, __bot)) + sep + return fin + +def __replace_file_header(path, head): + """ Replace file header. """ + + swap_path = os.path.join(os.path.dirname(path), + '.%s.chg' % os.path.basename(path)) + + with open(path) as src: + line = src.readline() + while True: + if line[:3] != '/* ' or any(c != '*' for c in line[3:].rstrip()): + break + while True: + line = src.readline() + if line[:2] != ' *': + break + + with open(swap_path, 'w') as swp: + swp.write(head) + swp.write(line) + swp.write(src.read()) + + os.rename(swap_path, path) + +def main(): + """ Main function for the `update_license.py` program. """ + + # Parse the arguments. + args = argparser.parse_args() + + # Get the project root. + root = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) + + # Get the copyright rules. + rules = get_copyright_rules(root) + + # Print the list of all available modules. + g = SourceGlobal(os.path.join(root, 'arch')) + modules = g.getallmodules() + + # Get all of the files in the available modules. + files = [] + for key, module in modules.items(): + files.extend(__get_files(key, module)) + + # Print the information. + for name, path, role, module_name in files: + authors, license = get_copyright(rules, path) + + head = '%s -- %s\n'%(name, role) + + for (start, end), name, mail in authors: + ds = '%s-%s'%(start, end) if start < end else '%s'%start + head += "Copyright (C) %s %s <%s>\n" % (ds, name, mail) + + head += "\n" + head += "This file is part of the '%s' module,\n"%module_name + head += "in libcarrot, an experimental modular libc project.\n" + + statement = __get_license_statement(license) + if statement: + head += "\n" + for stline in statement.split('\n'): + par = textwrap.wrap(stline, 75, replace_whitespace=None) + if not par: par = [''] + for line in par: + head += line + "\n" + + __replace_file_header(path, __make_header(head)) + +if __name__ == "__main__": + do_main(main) + +# End of file. -- cgit v1.2.3