diff --git a/src/plugins/select/bluegene/ba/block_allocator.c b/src/plugins/select/bluegene/ba/block_allocator.c index 951e6283a3b90a1597080e2c09987aa2ae64cb12..0ad3bd6d0286ec52b4a6f3f9e1284aac0839c685 100644 --- a/src/plugins/select/bluegene/ba/block_allocator.c +++ b/src/plugins/select/bluegene/ba/block_allocator.c @@ -581,7 +581,7 @@ extern void print_ba_request(select_ba_request_t* ba_request) * If a real bluegene system, query the system and get all wiring * information of the system. */ -extern void init_wires() +extern void init_wires(void) { int x, y, z, i; ba_mp_t *source = NULL; diff --git a/src/plugins/select/bluegene/ba/block_allocator.h b/src/plugins/select/bluegene/ba/block_allocator.h index 56c5d393513c633bbfdc1f5b301a44e67523eef8..9945da975f64520fff0bc198e5530b3511b5d25e 100644 --- a/src/plugins/select/bluegene/ba/block_allocator.h +++ b/src/plugins/select/bluegene/ba/block_allocator.h @@ -61,7 +61,7 @@ extern ba_mp_t ***ba_main_grid; * If a real bluegene system, query the system and get all wiring * information of the system. */ -extern void init_wires(); +extern void init_wires(void); /* * get the used wires for a block out of the database and return the diff --git a/src/plugins/select/bluegene/ba/wire_test.c b/src/plugins/select/bluegene/ba/wire_test.c index 58c2401172fef901efe06ff9089eb55171f97355..c669c482b9de18fc8905b05dd95aa7d17cba9b41 100644 --- a/src/plugins/select/bluegene/ba/wire_test.c +++ b/src/plugins/select/bluegene/ba/wire_test.c @@ -127,7 +127,7 @@ int main(int argc, char** argv) slurm_conf_reinit(NULL); ba_init(NULL, 1); - init_wires(NULL); + init_wires(); /* [010x831] */ /* results = list_create(NULL); */