The ifdef wrappers used for each header file is updated to be more accurate in regards to the directory and file path structure.
*
* This program provides the base include for the controller program.
*/
-#ifndef _controller_controller_h
-#define _controller_controller_h
+#ifndef _controller_controller_controller_h
+#define _controller_controller_controller_h
// Controller includes.
#include <program/controller/main/controller.h>
} // extern "C"
#endif
-#endif // _controller_controller_h
+#endif // _controller_controller_controller_h
* This file is only ever included by program/controller/controller/main.c and should not normally be included anywhere else.
* Anything that wants to include this should be providing the "controller" program functionality in some manner.
*/
-#ifndef _controller_controller_h
-#define _controller_controller_h
+#ifndef _controller_controller_main_h
+#define _controller_controller_main_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_controller_h
+#endif // _controller_controller_main_h
*
* This program provides the base include for the init program.
*/
-#ifndef _controller_init_h
-#define _controller_init_h
+#ifndef _controller_init_init_h
+#define _controller_init_init_h
// Controller includes.
#include <program/controller/main/controller.h>
} // extern "C"
#endif
-#endif // _controller_init_h
+#endif // _controller_init_init_h
*
* This program does nothing but can be used as a starting point for new program projects.
*/
-#ifndef _controller_h
-#define _controller_h
+#ifndef _controller_main_h
+#define _controller_main_h
// Include pre-requirements.
#ifndef _GNU_SOURCE
} // extern "C"
#endif
-#endif // _controller_h
+#endif // _controller_main_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_convert_h
-#define _controller_convert_h
+#ifndef _controller_main_convert_h
+#define _controller_main_convert_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_convert_h
+#endif // _controller_main_convert_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_entry_h
-#define _controller_entry_h
+#ifndef _controller_main_entry_h
+#define _controller_main_entry_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_entry_h
+#endif // _controller_main_entry_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_file_h
-#define _controller_file_h
+#ifndef _controller_main_file_h
+#define _controller_main_file_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_file_h
+#endif // _controller_main_file_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_instance_h
-#define _controller_instance_h
+#ifndef _controller_main_instance_h
+#define _controller_main_instance_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_instance_h
+#endif // _controller_main_instance_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_lock_h
-#define _controller_lock_h
+#ifndef _controller_main_lock_h
+#define _controller_main_lock_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_lock_h
+#endif // _controller_main_lock_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_path_h
-#define _controller_path_h
+#ifndef _controller_main_path_h
+#define _controller_main_path_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_path_h
+#endif // _controller_main_path_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_perform_h
-#define _controller_perform_h
+#ifndef _controller_main_perform_h
+#define _controller_main_perform_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_perform_h
+#endif // _controller_main_perform_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_process_h
-#define _controller_process_h
+#ifndef _controller_main_process_h
+#define _controller_main_process_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_process_h
+#endif // _controller_main_process_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_signal_h
-#define _controller_signal_h
+#ifndef _controller_main_signal_h
+#define _controller_main_signal_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_signal_h
+#endif // _controller_main_signal_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_status_h
-#define _controller_status_h
+#ifndef _controller_main_status_h
+#define _controller_main_status_h
#ifdef __cplusplus
extern "C" {
} // extern "C"
#endif
-#endif // _controller_status_h
+#endif // _controller_main_status_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_time_h
-#define _controller_time_h
+#ifndef _controller_main_time_h
+#define _controller_main_time_h
/**
* Get the current time, plus the given offset.
} // extern "C"
#endif
-#endif // _controller_time_h
+#endif // _controller_main_time_h
*
* This is auto-included and should not need to be explicitly included.
*/
-#ifndef _controller_validate_h
-#define _controller_validate_h
+#ifndef _controller_main_validate_h
+#define _controller_main_validate_h
/**
* Validate that the given string is a valid environment variable name.
} // extern "C"
#endif
-#endif // _controller_validate_h
+#endif // _controller_main_validate_h