AUTHORS and more copyright comments are redundant with CONTRIBUTORS.rst (#1227)

This commit is contained in:
Rangi
2023-11-07 17:57:59 -05:00
committed by GitHub
parent 8eeb40cca8
commit f3dbf17b78
12 changed files with 12 additions and 120 deletions

View File

@@ -1,8 +1,4 @@
/*
* Copyright (c) 2005-2020 Rich Felker, et al.
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
/* This implementation was taken from musl and modified for RGBDS */

View File

@@ -1,12 +1,6 @@
/*
* Copyright (c) 2008-2009, Björn Höhrmann <bjoern@hoehrmann.de>
*
* SPDX-License-Identifier: MIT
*/
/* SPDX-License-Identifier: MIT */
/*
* UTF-8 decoder: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
*/
/* UTF-8 decoder: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */
#include <stdint.h>

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: MIT */
// Mathematical operators that don't reuse C's behavior
// Mathematical operators that don't reuse C++'s behavior
#include <stdint.h>
@@ -74,7 +74,7 @@ int32_t op_shift_right(int32_t value, int32_t amount)
// 1->0x80000000, 2->0xC0000000, ..., 31->0xFFFFFFFE
uint32_t amount_high_bits = -(UINT32_C(1) << (32 - amount));
// The C standard leaves shifting right negative values
// The C++ standard leaves shifting right negative values
// undefined, so use a left shift manually sign-extended
return ((uint32_t)value >> amount) | amount_high_bits;
}