forked from M-Labs/artiq
runtime: minor cleanup
This commit is contained in:
parent
917cc056f4
commit
0acc52d513
|
@ -486,7 +486,8 @@ void send_rpc(int service, const char *tag, ...)
|
||||||
va_end(request.args);
|
va_end(request.args);
|
||||||
}
|
}
|
||||||
|
|
||||||
int recv_rpc(void *slot) {
|
int recv_rpc(void *slot)
|
||||||
|
{
|
||||||
struct msg_rpc_recv_request request;
|
struct msg_rpc_recv_request request;
|
||||||
struct msg_rpc_recv_reply *reply;
|
struct msg_rpc_recv_reply *reply;
|
||||||
|
|
||||||
|
@ -525,7 +526,8 @@ struct type_desc {
|
||||||
void **objects;
|
void **objects;
|
||||||
};
|
};
|
||||||
|
|
||||||
void attribute_writeback(void *utypes) {
|
void attribute_writeback(void *utypes)
|
||||||
|
{
|
||||||
struct type_desc **types = (struct type_desc **)utypes;
|
struct type_desc **types = (struct type_desc **)utypes;
|
||||||
while(*types) {
|
while(*types) {
|
||||||
struct type_desc *type = *types++;
|
struct type_desc *type = *types++;
|
||||||
|
|
|
@ -103,13 +103,6 @@ struct msg_rpc_recv_reply {
|
||||||
struct artiq_exception *exception;
|
struct artiq_exception *exception;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct msg_rpc_batch {
|
|
||||||
int type;
|
|
||||||
int service;
|
|
||||||
const char *tag;
|
|
||||||
void *ptr;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct msg_cache_get_request {
|
struct msg_cache_get_request {
|
||||||
int type;
|
int type;
|
||||||
const char *key;
|
const char *key;
|
||||||
|
|
Loading…
Reference in New Issue