]> Kevux Git Server - control/commitdiff
Cleanup: Improve header file define wrappers.
authorKevin Day <Kevin@kevux.org>
Fri, 2 Aug 2024 02:23:19 +0000 (21:23 -0500)
committerKevin Day <Kevin@kevux.org>
Fri, 2 Aug 2024 02:23:19 +0000 (21:23 -0500)
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
sources/c/program/control/main/process.h
sources/c/program/control/main/thread.h

index 18aef0c..32f617b 100644 (file)
@@ -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
index da183d0..4a90ef7 100644 (file)
@@ -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
index d842a8d..8c542d3 100644 (file)
@@ -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