From d09c8b3864b6f15bde5ee338b59a9964d16cc82b Mon Sep 17 00:00:00 2001 From: Godzil Date: Thu, 26 May 2022 16:15:56 +0100 Subject: [PATCH] A bit of cosmetics --- CMakeLists.txt | 2 +- mffs.c | 8 ++++++++ miniffs_tools.c | 1 + platform/file.c | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de8ee15..f7b9bd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ git_describe(VERSION --tags --dirty=-dirty) #parse the version information into pieces. message("-- Building version ${VERSION}") -ADD_COMPILE_DEFINITIONS(VERSION="${VERSION}") +add_compile_definitions(VERSION="${VERSION}") set(VALID_BUILD_PLATFORM MEMORY FILE) diff --git a/mffs.c b/mffs.c index 92b83b9..0090f36 100644 --- a/mffs.c +++ b/mffs.c @@ -1,3 +1,11 @@ +/****************************************************************************** + * MiniFFS : Mini Flat File System + * mffs.c: Offline tool for building mffs images. + * + * Copyright (c) 2008-2022 986-Studio. All rights reserved. + * + ******************************************************************************/ + #include #include diff --git a/miniffs_tools.c b/miniffs_tools.c index 60bce49..4ca36b0 100644 --- a/miniffs_tools.c +++ b/miniffs_tools.c @@ -5,6 +5,7 @@ * Copyright (c) 2008-2022 986-Studio. All rights reserved. * ******************************************************************************/ + #include #include #include diff --git a/platform/file.c b/platform/file.c index caadb94..c6b1ed5 100644 --- a/platform/file.c +++ b/platform/file.c @@ -5,6 +5,7 @@ * Copyright (c) 2008-2022 986-Studio. All rights reserved. * ******************************************************************************/ + #ifdef _WIN32 #include #include