Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- iwpmd/iwarp_pm_common.c | 2 +- iwpmd/iwarp_pm_server.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/iwpmd/iwarp_pm_common.c b/iwpmd/iwarp_pm_common.c index 3a885d8..aa6b4a0 100644 --- a/iwpmd/iwarp_pm_common.c +++ b/iwpmd/iwarp_pm_common.c @@ -212,7 +212,7 @@ create_socket_v6_exit: /** * create_netlink_socket - Create netlink socket for the iwarp port mapper */ -int create_netlink_socket() +int create_netlink_socket(void) { sockaddr_union bind_addr; struct sockaddr_nl *bind_nl; diff --git a/iwpmd/iwarp_pm_server.c b/iwpmd/iwarp_pm_server.c index deed3e7..89d3ee5 100644 --- a/iwpmd/iwarp_pm_server.c +++ b/iwpmd/iwarp_pm_server.c @@ -87,7 +87,7 @@ void iwpm_signal_handler(int signum) /** * iwpm_mapping_reqs_handler - Handle mapping requests timeouts and retries */ -void *iwpm_mapping_reqs_handler() +void *iwpm_mapping_reqs_handler(void) { iwpm_mapping_request *iwpm_map_req, *next_map_req; int ret = 0; @@ -139,7 +139,7 @@ mapping_reqs_handler_exit: /** * iwpm_pending_msgs_handler - Handle sending iwarp port mapper wire messages */ -void *iwpm_pending_msgs_handler() +void *iwpm_pending_msgs_handler(void) { iwpm_pending_msg *pending_msg; iwpm_send_msg *send_msg; @@ -1279,7 +1279,7 @@ static void iwpm_cleanup(void) /** * iwarp_port_mapper - Distribute work orders for processing different types of iwpm messages */ -static int iwarp_port_mapper() +static int iwarp_port_mapper(void) { fd_set select_fdset; /* read fdset */ struct timeval select_timeout; @@ -1355,8 +1355,8 @@ iwarp_port_mapper_exit: /** * daemonize_iwpm_server - Make iwarp port mapper a daemon process - */ -static void daemonize_iwpm_server() + */ +static void daemonize_iwpm_server(void) { pid_t pid, sid; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html