runtime: minor cleanup

This commit is contained in:
Sebastien Bourdeauducq 2016-06-19 19:26:30 +08:00
parent 917cc056f4
commit 0acc52d513
2 changed files with 4 additions and 9 deletions

View File

@ -486,7 +486,8 @@ void send_rpc(int service, const char *tag, ...)
va_end(request.args);
}
int recv_rpc(void *slot) {
int recv_rpc(void *slot)
{
struct msg_rpc_recv_request request;
struct msg_rpc_recv_reply *reply;
@ -525,7 +526,8 @@ struct type_desc {
void **objects;
};
void attribute_writeback(void *utypes) {
void attribute_writeback(void *utypes)
{
struct type_desc **types = (struct type_desc **)utypes;
while(*types) {
struct type_desc *type = *types++;

View File

@ -103,13 +103,6 @@ struct msg_rpc_recv_reply {
struct artiq_exception *exception;
};
struct msg_rpc_batch {
int type;
int service;
const char *tag;
void *ptr;
};
struct msg_cache_get_request {
int type;
const char *key;