Fix some nits

This commit is contained in:
Thog 2019-07-18 18:53:21 +02:00
parent 935a6cee92
commit a6e3bac1c8
No known key found for this signature in database
GPG Key ID: 0CD291558FAFDBC6
2 changed files with 8 additions and 9 deletions

View File

@ -3,23 +3,22 @@
#include "../kernel/event.h"
#include "../services/sm.h"
#define BINDER_FIRST_CALL_TRANSACTION 0x1
typedef struct {
bool created : 1;
bool initialized : 1;
bool has_transact_auto : 1;
s32 id;
size_t ipc_buffer_size;
Service *relay;
bool created : 1;
bool initialized : 1;
bool has_transact_auto : 1;
s32 id;
size_t ipc_buffer_size;
Service* relay;
} Binder;
// Note: binderClose will not close the session_handle provided to binderCreate.
void binderCreate(Binder* b, s32 id);
void binderClose(Binder* b);
Result binderInitSession(Binder* b, Service *relay);
Result binderInitSession(Binder* b, Service* relay);
Result binderTransactParcel(
Binder* b, u32 code,

View File

@ -17,7 +17,7 @@ void binderCreate(Binder* b, s32 id)
b->id = id;
}
Result binderInitSession(Binder* b, Service *relay)
Result binderInitSession(Binder* b, Service* relay)
{
Result rc = 0;