summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 22:04:45 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 22:04:45 -0400
commit68eb1285777f3ee373b1e0e95771f21325659349 (patch)
tree78c1ca8359c15cbc5507920a30dc6b01dad927e0
parent881ed40aaa64de531f1f4d11ccfdb8ec361316de (diff)
style: Add License Header to Files
Added the SPDX license header to source files missing the header.
-rw-r--r--example/main.c5
-rw-r--r--include/matfile.h5
-rw-r--r--src/matfile.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/example/main.c b/example/main.c
index 08d1894..ef7e0dd 100644
--- a/example/main.c
+++ b/example/main.c
@@ -1,3 +1,8 @@
+//
+// Copyright (c) 2026 Jacob McDonnell
+//
+// SPDX-License-Identifier: BSD-2-Clause
+//
#include <assert.h>
#include <matfile.h>
#include <stdio.h>
diff --git a/include/matfile.h b/include/matfile.h
index 2928d34..b92cd3a 100644
--- a/include/matfile.h
+++ b/include/matfile.h
@@ -1,3 +1,8 @@
+//
+// Copyright (c) 2026 Jacob McDonnell
+//
+// SPDX-License-Identifier: BSD-2-Clause
+//
#ifndef INCLUDE_MATFILE_H_
#define INCLUDE_MATFILE_H_
diff --git a/src/matfile.c b/src/matfile.c
index 6f76461..c6da630 100644
--- a/src/matfile.c
+++ b/src/matfile.c
@@ -1,3 +1,8 @@
+//
+// Copyright (c) 2026 Jacob McDonnell
+//
+// SPDX-License-Identifier: BSD-2-Clause
+//
#include "matfile.h"
#include <stdlib.h>
#include <string.h>