From 1add6e6d8d6cbbe59666402ad4b99075b7d6f081 Mon Sep 17 00:00:00 2001 From: LunarLambda Date: Wed, 16 Nov 2022 17:39:08 +0100 Subject: [PATCH] libseven: missing license headers and guard typos --- libseven/Makefile | 1 - libseven/include/seven/util/debug.h | 6 +++--- libseven/src/util/assert.c | 6 ++++++ libseven/src/util/bit.s | 0 4 files changed, 9 insertions(+), 4 deletions(-) mode change 100755 => 100644 libseven/src/util/bit.s diff --git a/libseven/Makefile b/libseven/Makefile index 8f90dfe..ec785d8 100644 --- a/libseven/Makefile +++ b/libseven/Makefile @@ -48,7 +48,6 @@ CFLAGS = \ BUILD = build LIB = lib - # # You don't need to touch anything below this point! # diff --git a/libseven/include/seven/util/debug.h b/libseven/include/seven/util/debug.h index e32786c..474829d 100644 --- a/libseven/include/seven/util/debug.h +++ b/libseven/include/seven/util/debug.h @@ -4,8 +4,8 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -#ifndef _LIBSEVEN_TEMPLATE_H -#define _LIBSEVEN_TEMPLATE_H +#ifndef _LIBSEVEN_UTIL_DEBUG_H +#define _LIBSEVEN_UTIL_DEBUG_H #include @@ -25,5 +25,5 @@ bool dbgRaiseException(u32 exception); _LIBSEVEN_EXTERN_C_END -#endif /* !_LIBSEVEN_TEMPLATE_H */ +#endif /* !_LIBSEVEN_UTIL_DEBUG_H */ diff --git a/libseven/src/util/assert.c b/libseven/src/util/assert.c index db896ae..c745adf 100644 --- a/libseven/src/util/assert.c +++ b/libseven/src/util/assert.c @@ -1,3 +1,9 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + #include #include diff --git a/libseven/src/util/bit.s b/libseven/src/util/bit.s old mode 100755 new mode 100644