From: Arnaud Giersch Date: Fri, 5 Jul 2013 08:04:16 +0000 (+0200) Subject: Use the same parameter name in the code and in the documentation. X-Git-Tag: v3_9_90~198 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/621301e4a3b9734a912f86a08ae9a752fc739321 Use the same parameter name in the code and in the documentation. --- 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)); }