Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the same parameter name in the code and in the documentation.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 5 Jul 2013 08:04:16 +0000 (10:04 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 5 Jul 2013 08:19:44 +0000 (10:19 +0200)
src/msg/msg_host.c

index 7a2c69c..df7253c 100644 (file)
@@ -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));
 }