diff --git a/samgr/adapter/cmsis/thread_adapter.c b/samgr/adapter/cmsis/thread_adapter.c index 0e0708d004087aaafccc4317b2940639f630811b..ae561685de8605724f2528ee3ae8e2c2fbba994c 100644 --- a/samgr/adapter/cmsis/thread_adapter.c +++ b/samgr/adapter/cmsis/thread_adapter.c @@ -16,7 +16,6 @@ #include "common.h" #include -extern void *osThreadGetArgument(void); MutexId MUTEX_InitValue() { diff --git a/samgr_endpoint/source/samgr_mini_ipc_adapter.c b/samgr_endpoint/source/samgr_mini_ipc_adapter.c index ae5e68c765fe9499a208d248b06efca15640aae3..57f31b5771dab2cb07e6c34dbd6cd866bd0513c5 100644 --- a/samgr_endpoint/source/samgr_mini_ipc_adapter.c +++ b/samgr_endpoint/source/samgr_mini_ipc_adapter.c @@ -31,7 +31,6 @@ int ClientRegisterRemoteEndpoint(SvcIdentity *identity, int token, const char *s identity->cookie = objectStubOne; // token is used by router index, should be itself, and save in SaNode identity->token = token; - extern int AddEndpoint(SvcIdentity identity, const char *service, const char *feature); return AddEndpoint(*identity, service, feature); } @@ -42,7 +41,6 @@ void Listen(Endpoint *endpoint, int token, const char *service, const char *feat static int Dispatch(uint32_t code, IpcIo *data, IpcIo *reply, MessageOption option) { - extern RemoteRegister g_remoteRegister; Endpoint *endpoint = g_remoteRegister.endpoint; int token = GetRemoteToken(data); if (token == EC_INVALID) {