Its declared 2 once as weak in the same file
diff --git a/legato/platformAdaptor/at/components/le_pa/pa_sim.c b/legato/platformAdaptor/at/components/le_pa/pa_sim.c
index 7d4161e..b7c3830 100644
--- a/legato/platformAdaptor/at/components/le_pa/pa_sim.c
+++ b/legato/platformAdaptor/at/components/le_pa/pa_sim.c
@@ -737,6 +737,7 @@ le_result_t __attribute__((weak)) pa_sim_ReadFPLMNOperators
* - LE_UNSUPPORTED The platform does not support this operation.
*/
//--------------------------------------------------------------------------------------------------
+/*
le_result_t __attribute__((weak)) pa_sim_GetLastStkStatus
(
pa_sim_StkEvent_t* stkStatus ///< [OUT] last SIM Toolkit event status
@@ -749,3 +750,4 @@ le_result_t __attribute__((weak)) pa_sim_GetLastStkStatus
return LE_UNSUPPORTED;
}
+*/
`