summaryrefslogtreecommitdiff
path: root/core/abort.c
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-03-20 14:15:38 -0500
committerDanny Holman <dholman@gymli.org>2025-03-20 14:18:49 -0500
commitadaecb65eaa1abf437a24c93a08b2b7c2266c5dc (patch)
tree8b70c3f85648a12c6e6b7308489033653235aa64 /core/abort.c
parent7281fe8fdbb64a83bc0f569ef01db33a1f26ac98 (diff)
core: refactor core API to be in proper style
Bring the rest of the core API to be in line with the project coding style. This commit also makes the coding style change formal by updating the coding style document in the documentation. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'core/abort.c')
-rw-r--r--core/abort.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/abort.c b/core/abort.c
index cd66ab1..5ee42f6 100644
--- a/core/abort.c
+++ b/core/abort.c
@@ -1,4 +1,26 @@
+/*
+ * Rune Game Engine
+ * Copyright 2024 Danny Holman <dholman@gymli.org>
+ *
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any damages
+ * arising from the use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ * 3. This notice may not be removed or altered from any source distribution.
+ */
+
#include <rune/core/abort.h>
+#include <rune/core/alloc.h>
#include <rune/core/init.h>
#include <rune/core/logging.h>
#include <rune/util/exits.h>