Skip to content
Snippets Groups Projects
Commit 5fe10d29 authored by tewk's avatar tewk
Browse files

changed function calls to match function prototype, didn't throw compile...

changed function calls to match function prototype, didn't throw compile errors because they were inlined
parent 96c10ed5
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ slurm_allocate_resources (job_desc_msg_t * job_desc_msg )
return_code_msg_t * slurm_rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
......
......@@ -30,7 +30,7 @@ int slurm_cancel_job ( uint32_t job_id )
return_code_msg_t * rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
......@@ -49,7 +49,7 @@ slurm_load_build (time_t update_time, struct build_table **build_table_ptr )
return_code_msg_t * rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
......@@ -107,7 +107,7 @@ slurm_load_jobs (time_t update_time, job_info_msg_t **job_info_msg_pptr)
return_code_msg_t * rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
......@@ -89,7 +89,7 @@ slurm_load_node (time_t update_time, node_info_msg_t **node_info_msg_pptr)
return_code_msg_t * slurm_rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
......
......@@ -84,7 +84,7 @@ slurm_load_partitions (time_t update_time, partition_info_msg_t **partition_info
return_code_msg_t * slurm_rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
......@@ -28,7 +28,7 @@ slurm_reconfigure ()
return_code_msg_t* rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
......@@ -30,7 +30,7 @@ slurm_submit_batch_job (job_desc_msg_t * job_desc_msg )
return_code_msg_t * slurm_rc_msg ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
......
......@@ -31,7 +31,7 @@ slurm_update_config (char *spec) {
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( SLURM_PORT ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment