From 5b350102de108d148ae03fe32e26deb755ddf6e3 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Mon, 29 Jan 2024 11:34:04 +0000 Subject: [PATCH] - fixed compilation problem when MMS_FILE_SERVICE is not set --- src/mms/inc_private/mms_common_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mms/inc_private/mms_common_internal.h b/src/mms/inc_private/mms_common_internal.h index f096e7bc..0c508fbf 100644 --- a/src/mms/inc_private/mms_common_internal.h +++ b/src/mms/inc_private/mms_common_internal.h @@ -1,7 +1,7 @@ /* * mms_common_internal.h * - * Copyright 2013-2019 Michael Zillgith + * Copyright 2013-2024 Michael Zillgith * * This file is part of libIEC61850. * @@ -34,6 +34,8 @@ #define DEFAULT_MAX_SERV_OUTSTANDING_CALLED 5 #define DEFAULT_DATA_STRUCTURE_NESTING_LEVEL 10 +typedef struct sMmsOutstandingCall* MmsOutstandingCall; + #if (MMS_FILE_SERVICE == 1) #ifndef CONFIG_MMS_MAX_NUMBER_OF_OPEN_FILES_PER_CONNECTION @@ -42,8 +44,6 @@ #include "hal_filesystem.h" -typedef struct sMmsOutstandingCall* MmsOutstandingCall; - typedef struct { int32_t frsmId; uint32_t readPosition;