mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-05-31 08:31:41 +05:30
relicense everything under CC0-1.0 or Unlicense, add SPDX ID
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
* TODO: Use fixed point arithmetics
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "clock_hr_microsec.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* clock_hr_microsec.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _CLOCK_HR_MICROSEC_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* bool-operations.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
@@ -9,7 +9,8 @@
|
||||
* - exponential growth of time
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
@@ -32,7 +32,8 @@
|
||||
*
|
||||
* The license information of the added code and this modification:
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
|
@@ -23,7 +23,8 @@
|
||||
* TODO: Test: Automate the test verification
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* static-vs-dynamic-mem-alloc.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
@@ -14,7 +14,8 @@
|
||||
* the input reading loop to avoid input queues
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "freadln.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* freadln.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _FREADLN_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* fwrite_le.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "fwrite_le.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* fwrite_le.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _FWRITE_LE_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* pure_getline.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "pure_getline.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* pure_getline.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _PURE_GETLINE_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* brexit.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#if !(defined(unix) || defined(__unix) || defined(__unix__) || \
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* NOTE: PulseAudio: Pipe STDOUT of this program to aplay -c 1 -f U8 -r 44100
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* extol.c [joke!]
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* A modern C version of extol.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* Useful for showing big-endian hexadecimal dumps on little-endian machines
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#define BE_TO_LE_PTR(base, size, i) \
|
||||
|
@@ -6,7 +6,8 @@
|
||||
* NOTE: This code will work only on a computer that uses bits.
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _OPT_INT_DIV_H
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* "Optimized integer division"
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "opt_int_div.h"
|
||||
|
@@ -10,7 +10,8 @@
|
||||
* f=lib/memset_explicit.c;hb=refs/heads/stable-202301
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _SAFE_MEM_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* safe_mem.test.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* asprintf.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "asprintf.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* asprintf.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _ASPRINTF_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* portable_basename.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "portable_basename.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* portable_basename.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _PORTABLE_BASENAME_H
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* Also compile `portable_basename.c` and `../benchmarking/clock_hr_microsec.c`
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
@@ -4,7 +4,8 @@
|
||||
* TODO: Add the ability to replace from the end
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "str_replace.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* str_replace.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _STR_REPLACE_H
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* string_case.c
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#include "string_case.h"
|
||||
|
@@ -2,7 +2,8 @@
|
||||
* string_case.h
|
||||
*
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#ifndef _STRING_CASE_H
|
||||
|
@@ -7,7 +7,8 @@
|
||||
*
|
||||
* The following license information applies for the modifications:
|
||||
* Author: Intel A80486DX2-66
|
||||
* License: Unlicense
|
||||
* License: Creative Commons Zero 1.0 Universal or Unlicense
|
||||
* SPDX-License-Identifier: CC0-1.0 OR Unlicense
|
||||
*/
|
||||
|
||||
#if !(defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || \
|
||||
|
Reference in New Issue
Block a user