From 220050a5557aab3b8ca075f86682bb3a3304ce4d Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 1 Aug 2024 21:23:19 -0500 Subject: [PATCH] Cleanup: Improve header file define wrappers. The ifdef wrappers used for each header file is updated to be more accurate in regards to the directory and file path structure. --- sources/c/program/control/control/main.h | 6 +++--- sources/c/program/control/main/process.h | 6 +++--- sources/c/program/control/main/thread.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sources/c/program/control/control/main.h b/sources/c/program/control/control/main.h index 18aef0c..32f617b 100644 --- a/sources/c/program/control/control/main.h +++ b/sources/c/program/control/control/main.h @@ -8,8 +8,8 @@ * This file is only ever included by program/control/control/main.c and should not normally be included anywhere else. * Anything that wants to include this should be providing the "control" program functionality in some manner. */ -#ifndef _control_control_h -#define _control_control_h +#ifndef _control_control_main_h +#define _control_control_main_h #ifdef __cplusplus extern "C" { @@ -35,4 +35,4 @@ extern int main(const int argc, const f_string_t *argv, const f_string_t *envp); } // extern "C" #endif -#endif // _control_control_h +#endif // _control_control_main_h diff --git a/sources/c/program/control/main/process.h b/sources/c/program/control/main/process.h index da183d0..4a90ef7 100644 --- a/sources/c/program/control/main/process.h +++ b/sources/c/program/control/main/process.h @@ -9,8 +9,8 @@ * * This is auto-included and should not need to be explicitly included. */ -#ifndef _control_process_h -#define _control_process_h +#ifndef _control_main_process_h +#define _control_main_process_h #ifdef __cplusplus extern "C" { @@ -46,4 +46,4 @@ extern "C" { } // extern "C" #endif -#endif // _control_process_h +#endif // _control_main_process_h diff --git a/sources/c/program/control/main/thread.h b/sources/c/program/control/main/thread.h index d842a8d..8c542d3 100644 --- a/sources/c/program/control/main/thread.h +++ b/sources/c/program/control/main/thread.h @@ -9,8 +9,8 @@ * * This is auto-included and should not need to be explicitly included. */ -#ifndef _control_thread_h -#define _control_thread_h +#ifndef _control_main_thread_h +#define _control_main_thread_h /** * Thread handler for signals/interrupts. @@ -43,4 +43,4 @@ } // extern "C" #endif -#endif // _control_thread_h +#endif // _control_main_thread_h -- 1.8.3.1