Commit f24c8eac authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

argument ordering consistency

parent b684c98d
Pipeline #28 skipped
......@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
if (sleep_time >= 0) sleep(sleep_time);
// resolve group addresses
hret = ssg_lookup(hgctx, c.s);
hret = ssg_lookup(c.s, hgctx);
DIE_IF(hret != HG_SUCCESS, "ssg_lookup");
// get my (non-mpi) rank
......
......@@ -40,7 +40,7 @@ ssg_t ssg_init_config(const char * fname, int is_member);
// once the ssg has been initialized, wireup (a collection of HG_Addr_lookups)
// note that this is a simple blocking implementation - no margo/etc here
hg_return_t ssg_lookup(hg_context_t *hgctx, ssg_t s);
hg_return_t ssg_lookup(ssg_t s, hg_context_t *hgctx);
/// finalization
......
......@@ -215,7 +215,7 @@ fini:
}
#endif
hg_return_t ssg_lookup(hg_context_t *hgctx, ssg_t s)
hg_return_t ssg_lookup(ssg_t s, hg_context_t *hgctx)
{
// "effective" rank for the lookup loop
int eff_rank = 0;
......
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