Commit abda7fc2 authored by Philip Carns's avatar Philip Carns

more const fixes

parent 740803a4
...@@ -195,7 +195,7 @@ static void run_my_rpc(void *_arg) ...@@ -195,7 +195,7 @@ static void run_my_rpc(void *_arg)
int ret; int ret;
hg_size_t size; hg_size_t size;
void* buffer; void* buffer;
struct hg_info *hgi; const struct hg_info *hgi;
printf("ULT [%d] running.\n", arg->val); printf("ULT [%d] running.\n", arg->val);
......
...@@ -196,7 +196,7 @@ static void run_my_rpc(void *_arg) ...@@ -196,7 +196,7 @@ static void run_my_rpc(void *_arg)
int ret; int ret;
hg_size_t size; hg_size_t size;
void* buffer; void* buffer;
struct hg_info *hgi; const struct hg_info *hgi;
printf("ULT [%d] running.\n", arg->val); printf("ULT [%d] running.\n", arg->val);
......
...@@ -27,7 +27,7 @@ static void my_rpc_ult(hg_handle_t handle) ...@@ -27,7 +27,7 @@ static void my_rpc_ult(hg_handle_t handle)
hg_size_t size; hg_size_t size;
void *buffer; void *buffer;
hg_bulk_t bulk_handle; hg_bulk_t bulk_handle;
struct hg_info *hgi; const struct hg_info *hgi;
#if 0 #if 0
int fd; int fd;
char filename[256]; char filename[256];
...@@ -88,7 +88,7 @@ DEFINE_MARGO_RPC_HANDLER(my_rpc_ult) ...@@ -88,7 +88,7 @@ DEFINE_MARGO_RPC_HANDLER(my_rpc_ult)
static void my_rpc_shutdown_ult(hg_handle_t handle) static void my_rpc_shutdown_ult(hg_handle_t handle)
{ {
hg_return_t hret; hg_return_t hret;
struct hg_info *hgi; const struct hg_info *hgi;
margo_instance_id mid; margo_instance_id mid;
printf("Got RPC request to shutdown\n"); printf("Got RPC request to shutdown\n");
...@@ -121,7 +121,7 @@ static void my_rpc_hang_ult(hg_handle_t handle) ...@@ -121,7 +121,7 @@ static void my_rpc_hang_ult(hg_handle_t handle)
hg_size_t size; hg_size_t size;
void *buffer; void *buffer;
hg_bulk_t bulk_handle; hg_bulk_t bulk_handle;
struct hg_info *hgi; const struct hg_info *hgi;
margo_instance_id mid; margo_instance_id mid;
ret = HG_Get_input(handle, &in); ret = HG_Get_input(handle, &in);
......
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