mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
Fix some nits
This commit is contained in:
parent
935a6cee92
commit
a6e3bac1c8
@ -3,7 +3,6 @@
|
|||||||
#include "../kernel/event.h"
|
#include "../kernel/event.h"
|
||||||
#include "../services/sm.h"
|
#include "../services/sm.h"
|
||||||
|
|
||||||
|
|
||||||
#define BINDER_FIRST_CALL_TRANSACTION 0x1
|
#define BINDER_FIRST_CALL_TRANSACTION 0x1
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -12,14 +11,14 @@ typedef struct {
|
|||||||
bool has_transact_auto : 1;
|
bool has_transact_auto : 1;
|
||||||
s32 id;
|
s32 id;
|
||||||
size_t ipc_buffer_size;
|
size_t ipc_buffer_size;
|
||||||
Service *relay;
|
Service* relay;
|
||||||
} Binder;
|
} Binder;
|
||||||
|
|
||||||
// Note: binderClose will not close the session_handle provided to binderCreate.
|
// Note: binderClose will not close the session_handle provided to binderCreate.
|
||||||
void binderCreate(Binder* b, s32 id);
|
void binderCreate(Binder* b, s32 id);
|
||||||
void binderClose(Binder* b);
|
void binderClose(Binder* b);
|
||||||
|
|
||||||
Result binderInitSession(Binder* b, Service *relay);
|
Result binderInitSession(Binder* b, Service* relay);
|
||||||
|
|
||||||
Result binderTransactParcel(
|
Result binderTransactParcel(
|
||||||
Binder* b, u32 code,
|
Binder* b, u32 code,
|
||||||
|
@ -17,7 +17,7 @@ void binderCreate(Binder* b, s32 id)
|
|||||||
b->id = id;
|
b->id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result binderInitSession(Binder* b, Service *relay)
|
Result binderInitSession(Binder* b, Service* relay)
|
||||||
{
|
{
|
||||||
Result rc = 0;
|
Result rc = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user