diff --git a/easy_embedded/service/event_notifier/ez_event_notifier.h b/easy_embedded/service/event_notifier/ez_event_notifier.h index ded10a8..f1d298b 100755 --- a/easy_embedded/service/event_notifier/ez_event_notifier.h +++ b/easy_embedded/service/event_notifier/ez_event_notifier.h @@ -271,11 +271,12 @@ void ezEventNotifier_NotifyEvent(ezSubject *subject, void* param1, void* param2); +#endif /* (EZ_EVENT_NOTIFIER == 1U) */ + #ifdef __cplusplus } #endif -#endif /* (EZ_EVENT_NOTIFIER == 1U) */ #endif /* _EZ_EVENT_NOTIFIER_H */ /* End of file */ diff --git a/easy_embedded/utilities/linked_list/ez_linked_list.c b/easy_embedded/utilities/linked_list/ez_linked_list.c index e87d2e5..39fb0ac 100755 --- a/easy_embedded/utilities/linked_list/ez_linked_list.c +++ b/easy_embedded/utilities/linked_list/ez_linked_list.c @@ -26,8 +26,6 @@ *****************************************************************************/ #include "ez_linked_list.h" -#if (EZ_LINKEDLIST == 1U) - /***************************************************************************** * Component Preprocessor Macros *****************************************************************************/ @@ -179,5 +177,4 @@ void ezmLL_ResetNode(Node * node) } #endif -#endif /* CONFIG_HELPER_LINKEDLIST */ /* End of file*/ \ No newline at end of file diff --git a/easy_embedded/utilities/linked_list/ez_linked_list.h b/easy_embedded/utilities/linked_list/ez_linked_list.h index 2992153..e3d4d4f 100755 --- a/easy_embedded/utilities/linked_list/ez_linked_list.h +++ b/easy_embedded/utilities/linked_list/ez_linked_list.h @@ -32,10 +32,14 @@ extern "C" { /***************************************************************************** * Includes *****************************************************************************/ +#if (EZ_BUILD_WITH_CMAKE == 0U) +#include "ez_target_config.h" +#endif + +#if (EZ_LINKEDLIST == 1U) #include #include #include - #include "ez_utilities_common.h" @@ -264,6 +268,7 @@ bool ezLinkedList_IsNodeInList(struct Node *head, struct Node *searched_node); } #endif +#endif /* CONFIG_HELPER_LINKEDLIST */ #endif /* _LINKEDLIST_H */ /* End of file*/ diff --git a/easy_embedded/utilities/queue/ez_queue.h b/easy_embedded/utilities/queue/ez_queue.h index c6bdae4..290da55 100755 --- a/easy_embedded/utilities/queue/ez_queue.h +++ b/easy_embedded/utilities/queue/ez_queue.h @@ -385,11 +385,12 @@ uint32_t ezQueue_GetNumOfElement(ezQueue* queue); *****************************************************************************/ uint32_t ezQueue_IsQueueReady(ezQueue *queue); +#endif /* _EZ_QUEUE */ + #ifdef __cplusplus } #endif -#endif /* _EZ_QUEUE */ #endif /* _EZ_QUEUE_H */ /* End of file */