Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
margo
Commits
abda7fc2
Commit
abda7fc2
authored
May 15, 2017
by
Philip Carns
Browse files
more const fixes
parent
740803a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/margo-test-client-timeout.c
View file @
abda7fc2
...
...
@@ -195,7 +195,7 @@ static void run_my_rpc(void *_arg)
int
ret
;
hg_size_t
size
;
void
*
buffer
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
printf
(
"ULT [%d] running.
\n
"
,
arg
->
val
);
...
...
tests/margo-test-client.c
View file @
abda7fc2
...
...
@@ -196,7 +196,7 @@ static void run_my_rpc(void *_arg)
int
ret
;
hg_size_t
size
;
void
*
buffer
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
printf
(
"ULT [%d] running.
\n
"
,
arg
->
val
);
...
...
tests/my-rpc.c
View file @
abda7fc2
...
...
@@ -27,7 +27,7 @@ static void my_rpc_ult(hg_handle_t handle)
hg_size_t
size
;
void
*
buffer
;
hg_bulk_t
bulk_handle
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
#if 0
int fd;
char filename[256];
...
...
@@ -88,7 +88,7 @@ DEFINE_MARGO_RPC_HANDLER(my_rpc_ult)
static
void
my_rpc_shutdown_ult
(
hg_handle_t
handle
)
{
hg_return_t
hret
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
margo_instance_id
mid
;
printf
(
"Got RPC request to shutdown
\n
"
);
...
...
@@ -121,7 +121,7 @@ static void my_rpc_hang_ult(hg_handle_t handle)
hg_size_t
size
;
void
*
buffer
;
hg_bulk_t
bulk_handle
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
margo_instance_id
mid
;
ret
=
HG_Get_input
(
handle
,
&
in
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment