From f23a8423a57d1e144a42fb07ede8e285219906ae Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 22 Jan 2020 13:38:18 +0100 Subject: [PATCH] Fix #357, Fix OS_ModuleLoad_Impl when loader is disabled When OS_INCLUDE_MODULE_LOADER is disabled, the function header does not match the definition. --- src/os/rtems/osloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/rtems/osloader.c b/src/os/rtems/osloader.c index 67d38be4e..0de68fc48 100644 --- a/src/os/rtems/osloader.c +++ b/src/os/rtems/osloader.c @@ -317,7 +317,7 @@ int32 OS_ModuleUnload_Impl ( uint32 module_id ) * See prototype in os-impl.h for argument/return detail * *-----------------------------------------------------------------*/ -int32 OS_ModuleLoad_Impl ( uint32 module_id, char *translated_path ) +int32 OS_ModuleLoad_Impl ( uint32 module_id, const char *translated_path ) { return OS_SUCCESS; } /* end OS_ModuleLoad_Impl */