Shorten license comments and consolidate an AUTHORS file (#1217)

This commit is contained in:
Rangi
2023-11-05 03:54:32 -05:00
committed by GitHub
parent 259ec58140
commit f8af569680
95 changed files with 108 additions and 639 deletions

View File

@@ -1,10 +1,4 @@
#
# This file is part of RGBDS.
#
# Copyright (c) 2020 RGBDS contributors.
#
# SPDX-License-Identifier: MIT
#
configure_file(version.c _version.c ESCAPE_QUOTES)

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2013-2018, stag019 and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdbool.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2021, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
// Fixed-point math routines

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2020, RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <sys/stat.h>
#include <assert.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2020, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <sys/types.h>
#include <sys/stat.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <ctype.h>
#include <errno.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <ctype.h>
#include <errno.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
// Outputs an objectfile

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
%{
#include <ctype.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
// Controls RPN expressions for objectfiles

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <errno.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
// Symboltable and macroargs stuff

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <ctype.h>
#include <stdint.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <inttypes.h>
#include <limits.h>

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash
bison -V | awk -v major="$1" -v minor="$2" '
/^bison.*[0-9]+(\.[0-9]+)(\.[0-9]+)?$/ {
match($0, /[0-9]+(\.[0-9]+)(\.[0-9]+)?$/);

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2005-2021, Rich Felker and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdarg.h>

21
src/extern/getopt.c vendored
View File

@@ -1,24 +1,7 @@
/*
* Copyright © 2005-2020 Rich Felker, et al.
* Copyright (c) 2005-2020 Rich Felker, et al.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*/
/* This implementation was taken from musl and modified for RGBDS */

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2020, Eldred habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <sys/types.h>
#include <sys/stat.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/main.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/pal_packing.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/pal_sorting.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/pal_spec.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/process.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/proto_palette.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/reverse.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "gfx/rgba.hpp"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <stdint.h>
#include <stdbool.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <inttypes.h>
#include <stdbool.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <ctype.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <ctype.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <assert.h>
#include <inttypes.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2019, Eldred Habert and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <inttypes.h>
#include <stdbool.h>

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2022, RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include "linkdefs.h"

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2021, RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
// Mathematical operators that don't reuse C's behavior

View File

@@ -1,10 +1,4 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 2017-2018, Antonio Nino Diaz and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
#include <stdio.h>
#include <string.h>