提交 d7c5f405 编写于 作者: L liubb_0516

remove redundant interface

Signed-off-by: Nliubb_0516 <liubeibei8@huawei.com>
上级 fbc3beb2
...@@ -64,7 +64,7 @@ const SvcIdentity *GetRegistryObject(void); ...@@ -64,7 +64,7 @@ const SvcIdentity *GetRegistryObject(void);
int32_t ProcessSendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply, int32_t ProcessSendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply,
MessageOption option, uintptr_t *buffer); MessageOption option, uintptr_t *buffer);
int32_t ProcessFreeBuffer(void *ptr); int32_t ProcessFreeBuffer(void *ptr);
void OnLastStrongRef(int32_t handle); void OnFirstStrongRef(int32_t handle);
int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId); int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId);
int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId); int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId);
int32_t OnRemoteRequestInner(uint32_t code, IpcIo *data, IpcIo *reply, int32_t OnRemoteRequestInner(uint32_t code, IpcIo *data, IpcIo *reply,
......
...@@ -240,7 +240,7 @@ static bool FirstAddObject(int32_t handle) ...@@ -240,7 +240,7 @@ static bool FirstAddObject(int32_t handle)
return true; return true;
} }
static void OnFirstStrongRef(int32_t handle) void OnFirstStrongRef(int32_t handle)
{ {
if (handle <= 0) { if (handle <= 0) {
RPC_LOG_ERROR("invalid handle."); RPC_LOG_ERROR("invalid handle.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册