Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill surf_cpu_model_init_bypass_im, use surf_host_create_resource, change the manner...
[simgrid.git] / src / surf / network_constant.c
index 572ba02..10e25fd 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -20,16 +19,15 @@ typedef struct surf_action_network_Constant {
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_network);
 static random_data_t random_latency = NULL;
-static int host_number = 0;
+static int host_number_int = 0;
 
 static void netcste_count_hosts(void)
 {
-  host_number++;
+  host_number_int++;
 }
 
 static void netcste_define_callbacks(const char *file)
 {
-  /* Figuring out the network links */
   surfxml_add_callback(STag_surfxml_host_cb_list, &netcste_count_hosts);
 }