Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update the double extern declaration bis
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Mar 2007 10:26:00 +0000 (10:26 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Mar 2007 10:26:00 +0000 (10:26 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3188 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/include/surf/surf.h

index cfa5fbe..3b510f2 100644 (file)
@@ -206,7 +206,7 @@ typedef struct surf_cpu_resource {
 /** \brief The CPU resource
  *  \ingroup SURF_resources
  */
 /** \brief The CPU resource
  *  \ingroup SURF_resources
  */
-extern XBT_PUBLIC(surf_cpu_resource_t) surf_cpu_resource;
+XBT_PUBLIC(surf_cpu_resource_t) surf_cpu_resource;
 
 /** \brief Initializes the CPU resource with the model Cas01
  *  \ingroup SURF_resources
 
 /** \brief Initializes the CPU resource with the model Cas01
  *  \ingroup SURF_resources
@@ -253,7 +253,7 @@ typedef struct surf_network_resource {
  *  resource should be accessed because depending on the platform model,
  *  the network resource can be NULL.
  */
  *  resource should be accessed because depending on the platform model,
  *  the network resource can be NULL.
  */
-extern XBT_PUBLIC(surf_network_resource_t) surf_network_resource;
+XBT_PUBLIC(surf_network_resource_t) surf_network_resource;
 
 /** \brief Initializes the platform with the network model CM02
  *  \ingroup SURF_resources
 
 /** \brief Initializes the platform with the network model CM02
  *  \ingroup SURF_resources
@@ -313,7 +313,7 @@ typedef struct surf_workstation_resource {
  *  because depending on the platform model, the network resource and the CPU resource
  *  may not exist.
  */
  *  because depending on the platform model, the network resource and the CPU resource
  *  may not exist.
  */
-extern XBT_PUBLIC(surf_workstation_resource_t) surf_workstation_resource;
+XBT_PUBLIC(surf_workstation_resource_t) surf_workstation_resource;
 
 /** \brief Initializes the platform with the workstation model CLM03
  *  \ingroup SURF_resources
 
 /** \brief Initializes the platform with the workstation model CLM03
  *  \ingroup SURF_resources
@@ -353,7 +353,7 @@ XBT_PUBLIC(void) surf_workstation_resource_init_KCCFLN05_proportionnal(const cha
  *
  *  \see workstation_set
  */
  *
  *  \see workstation_set
  */
-extern XBT_PUBLIC(xbt_dict_t) network_link_set;
+XBT_PUBLIC(xbt_dict_t) network_link_set;
 
 /** \brief The workstations
  *  \ingroup SURF_resources
 
 /** \brief The workstations
  *  \ingroup SURF_resources
@@ -362,12 +362,12 @@ extern XBT_PUBLIC(xbt_dict_t) network_link_set;
  *
  *  \see network_link_set
  */
  *
  *  \see network_link_set
  */
-extern XBT_PUBLIC(xbt_dict_t) workstation_set;
+XBT_PUBLIC(xbt_dict_t) workstation_set;
 
 /** \brief List of initialized resources
  *  \ingroup SURF_resources
  */
 
 /** \brief List of initialized resources
  *  \ingroup SURF_resources
  */
-extern XBT_PUBLIC(xbt_dynar_t) resource_list;
+XBT_PUBLIC(xbt_dynar_t) resource_list;
 
 /*******************************************/
 /*** SURF Globals **************************/
 
 /*******************************************/
 /*** SURF Globals **************************/