From 621301e4a3b9734a912f86a08ae9a752fc739321 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 5 Jul 2013 10:04:16 +0200 Subject: [PATCH] Use the same parameter name in the code and in the documentation. --- src/msg/msg_host.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index 7a2c69c0e8..df7253ccb0 100644 --- a/src/msg/msg_host.c +++ b/src/msg/msg_host.c @@ -209,11 +209,11 @@ double MSG_get_host_speed(msg_host_t h) * \param host a host * \return the number of cores */ -int MSG_host_get_core_number(msg_host_t h) +int MSG_host_get_core_number(msg_host_t host) { - xbt_assert((h != NULL), "Invalid parameters"); + xbt_assert((host != NULL), "Invalid parameters"); - return (simcall_host_get_core(h)); + return (simcall_host_get_core(host)); } /** \ingroup m_host_management @@ -222,11 +222,11 @@ int MSG_host_get_core_number(msg_host_t h) * \param host a host * \return a swag with the attached processes */ -xbt_swag_t MSG_host_get_process_list(msg_host_t h) +xbt_swag_t MSG_host_get_process_list(msg_host_t host) { - xbt_assert((h != NULL), "Invalid parameters"); + xbt_assert((host != NULL), "Invalid parameters"); - return (simcall_host_get_process_list(h)); + return (simcall_host_get_process_list(host)); } -- 2.20.1