Commit 5221f4f3 authored by Philip Carns's avatar Philip Carns
Browse files

prototypes for ult handlers can use hg_handle_t

- this doesn't cause a warning and makes the prototype a little less
  confusing now in conjunction with previous commit
parent 98ea1181
...@@ -18,10 +18,8 @@ ...@@ -18,10 +18,8 @@
* close. * close.
*/ */
static void my_rpc_ult(void *_arg) static void my_rpc_ult(hg_handle_t handle)
{ {
hg_handle_t handle = _arg;
hg_return_t hret; hg_return_t hret;
my_rpc_out_t out; my_rpc_out_t out;
my_rpc_in_t in; my_rpc_in_t in;
...@@ -85,10 +83,8 @@ static void my_rpc_ult(void *_arg) ...@@ -85,10 +83,8 @@ static void my_rpc_ult(void *_arg)
} }
DEFINE_MARGO_RPC_HANDLER(my_rpc_ult) DEFINE_MARGO_RPC_HANDLER(my_rpc_ult)
static void my_rpc_shutdown_ult(void *_arg) static void my_rpc_shutdown_ult(hg_handle_t handle)
{ {
hg_handle_t handle = _arg;
hg_return_t hret; hg_return_t hret;
struct hg_info *hgi; struct hg_info *hgi;
margo_instance_id mid; margo_instance_id mid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment