cyberslak
/lightsout
/amendments
/22
Add LICENSE information
cyberslak made amendment 22 18 days ago
--- dbuf.c Sat Mar 8 02:44:16 2025
+++ dbuf.c Sat Mar 15 17:08:21 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
--- dbuf.h Sun Mar 9 22:24:55 2025
+++ dbuf.h Sat Mar 15 17:08:14 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
#include "stdint.h"
#include "util.h"
--- entity.h Tue Mar 11 21:42:12 2025
+++ entity.h Sat Mar 15 17:08:09 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
#include "list.h"
--- entity_ldef.c Sun Mar 9 21:13:03 2025
+++ entity_ldef.c Sat Mar 15 17:08:02 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <string.h>
#include "entity_ldef.h"
#include "entity.h"
--- entity_ldef.h Sun Mar 9 20:34:47 2025
+++ entity_ldef.h Sat Mar 15 17:08:39 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
pascal short
--- GenerateR Sat Mar 8 16:10:44 2025
+++ GenerateR Sat Mar 15 17:23:39 2025
@@ -1,7 +1,10 @@
+# SPDX-License-Identifier: MIT
+
Set InFile "Macintosh HD:Documents:LightsOut:LightsOut.rsrc"
Set OutFile "Macintosh HD:Documents:LightsOut:LightsOut.r"
Delete "{OutFile}"
+Echo '// SPDX-License-Identifier: MIT' >> "{OutFile}"
Echo '// Generated by GenerateR' >> "{OutFile}"
Echo '#include "Types.r"' >> "{OutFile}"
Echo '#include "SysTypes.r"' >> "{OutFile}"
--- ha.c Thu Mar 13 22:12:10 2025
+++ ha.c Sat Mar 15 17:09:41 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <OpenTransport.h>
#include <OpenTptInternet.h>
#include <stdio.h>
--- ha.h Sat Mar 8 21:09:14 2025
+++ ha.h Sat Mar 15 17:09:47 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
#include <stdlib.h>
#include "list.h"
--- LICENSE Sat Mar 15 17:05:29 2025
+++ LICENSE Sat Mar 15 17:05:29 2025
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2025 Sam van Kampen
+
+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.
--- list.c Mon Mar 3 23:12:38 2025
+++ list.c Sat Mar 15 17:10:37 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include "list.h"
/* Unlink a node from a list. */
--- list.h Wed Mar 12 00:19:29 2025
+++ list.h Sat Mar 15 17:10:26 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
/** list.h - intrusive linked lists
*/
#pragma once
--- main.c Thu Mar 13 22:02:11 2025
+++ main.c Sat Mar 15 17:10:46 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
--- net.c Mon Mar 10 23:03:46 2025
+++ net.c Sat Mar 15 17:10:52 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <Threads.h>
#include <stdio.h>
#include <string.h>
--- net.h Sat Mar 8 20:54:32 2025
+++ net.h Sat Mar 15 17:10:59 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
#include <OpenTransport.h>
--- preferences.c Sun Mar 9 22:43:30 2025
+++ preferences.c Sat Mar 15 17:11:05 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
--- preferences.h Sun Mar 9 22:59:40 2025
+++ preferences.h Sat Mar 15 17:11:11 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
#include "list.h"
--- slider.c Thu Mar 13 22:11:10 2025
+++ slider.c Sat Mar 15 17:11:17 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#include <stdio.h>
#include "util.h"
#include "slider.h"
--- slider.h Sun Mar 2 03:10:06 2025
+++ slider.h Sat Mar 15 17:11:22 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
pascal long
--- stdint.h Thu Feb 27 14:45:35 2025
+++ stdint.h Sat Mar 15 17:11:27 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#pragma once
typedef signed long ssize_t;
--- util.c Wed Mar 12 21:17:16 2025
+++ util.c Sat Mar 15 17:22:40 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#define _UTIL_IMPL_
#include "util.h"
#include <stdio.h>
--- util.h Thu Mar 13 01:51:42 2025
+++ util.h Sat Mar 15 17:11:59 2025
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MIT
+
#ifndef _LO_UTIL_H_
#define _LO_UTIL_H_
#include <limits.h>