From 69d4bb51f43f0fa976491ecc17eab168ab873beb Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Thu, 24 Oct 2024 23:06:25 +0100 Subject: [PATCH] Add copyright and license comments --- app/main.c | 5 +++++ lib/evaluator.c | 5 +++++ lib/include/evaluator.h | 5 +++++ lib/include/expression.h | 5 +++++ lib/include/memory_pool.h | 5 +++++ lib/include/reader.h | 5 +++++ lib/memory_pool.c | 5 +++++ lib/reader.c | 5 +++++ 8 files changed, 40 insertions(+) diff --git a/app/main.c b/app/main.c index ea87f8b..475471d 100644 --- a/app/main.c +++ b/app/main.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #include #include diff --git a/lib/evaluator.c b/lib/evaluator.c index 28eed36..e94bde3 100644 --- a/lib/evaluator.c +++ b/lib/evaluator.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #include "evaluator.h" int evaluate(const expression_t *expression) diff --git a/lib/include/evaluator.h b/lib/include/evaluator.h index e08f9bf..9c7a673 100644 --- a/lib/include/evaluator.h +++ b/lib/include/evaluator.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #ifndef EVALUATOR_H #define EVALUATOR_H diff --git a/lib/include/expression.h b/lib/include/expression.h index 75d6f05..b499b6c 100644 --- a/lib/include/expression.h +++ b/lib/include/expression.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #ifndef EXPRESSION_H #define EXPRESSION_H diff --git a/lib/include/memory_pool.h b/lib/include/memory_pool.h index 48e12f3..da63d89 100644 --- a/lib/include/memory_pool.h +++ b/lib/include/memory_pool.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #ifndef MEMORY_POOL_H #define MEMORY_POOL_H diff --git a/lib/include/reader.h b/lib/include/reader.h index df8667d..13d512b 100644 --- a/lib/include/reader.h +++ b/lib/include/reader.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #ifndef READER_H #define READER_H diff --git a/lib/memory_pool.c b/lib/memory_pool.c index d1f8d4a..fd28298 100644 --- a/lib/memory_pool.c +++ b/lib/memory_pool.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #include "memory_pool.h" #include diff --git a/lib/reader.c b/lib/reader.c index 555afb2..4196b31 100644 --- a/lib/reader.c +++ b/lib/reader.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) Camden Dixie O'Brien + * SPDX-License-Identifier: AGPL-3.0-only + */ + #include "reader.h" #include