From 02c11b6d630d8ac1be71e3d7d583d9cbb9463977 Mon Sep 17 00:00:00 2001 From: Mattia Cabrini Date: Tue, 9 Sep 2025 22:00:21 +0200 Subject: [PATCH] +Compile flags; +Header --- CMakeLists.txt | 2 ++ cmc-find.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cecc902..505072b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ set(SRC cmc-find.c) add_executable(cmc-find ${SRC}) target_compile_options(cmc-find PRIVATE + -std=c89 + -pedantic -Wall -Werror -Wno-unused-function diff --git a/cmc-find.c b/cmc-find.c index 5fa4093..6317a5d 100644 --- a/cmc-find.c +++ b/cmc-find.c @@ -1,5 +1,5 @@ -/* Copyright (c) Mattia Cabrini */ -/* SPDX-License-Identifier: MIT */ +/* Copyright (c) 2025 Mattia Cabrini */ +/* SPDX-License-Identifier: MIT */ #include #include -- 2.43.0