Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Get ride of a stupidly empty header file
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 10 Feb 2016 23:01:07 +0000 (00:01 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 10 Feb 2016 23:01:07 +0000 (00:01 +0100)
src/surf/surf_private.h
src/surf/surfxml_parse.cpp
src/surf/surfxml_parseplatf.cpp
src/surf/surfxml_private.h [deleted file]
tools/cmake/DefinePackages.cmake

index d59ad24..e2ecdcb 100644 (file)
@@ -82,12 +82,14 @@ XBT_PUBLIC(void) generic_get_graph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict
 /**
  * Resource protected methods
  */
-XBT_PUBLIC(void) surfxml_bufferstack_push(int _new);
-XBT_PUBLIC(void) surfxml_bufferstack_pop(int _new);
-XBT_PUBLIC(void) parse_after_config(void);
+XBT_PRIVATE void surfxml_bufferstack_push(int _new);
+XBT_PRIVATE void surfxml_bufferstack_pop(int _new);
+XBT_PRIVATE void parse_after_config(void);
 
 XBT_PUBLIC_DATA(int) surfxml_bufferstack_size;
 
+XBT_PRIVATE void sg_platf_trace_connect(sg_platf_trace_connect_cbarg_t trace_connect);
+
 /********** Tracing **********/
 /* from surf_instr.c */
 void TRACE_surf_host_set_speed(double date, const char *resource, double power);
index da1c63d..15fa5f2 100644 (file)
@@ -15,7 +15,6 @@
 #include "xbt/dict.h"
 #include "src/surf/surf_private.h"
 #include "simgrid/sg_config.h"
-#include "surfxml_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf,
                                 "Logging specific to the SURF parsing module");
index eaa30d6..3e889ee 100644 (file)
@@ -11,7 +11,6 @@
 #include "simgrid/platf.h"
 #include "src/surf/cpu_interface.hpp"
 #include "src/surf/network_interface.hpp"
-#include "src/surf/surfxml_private.h"
 
 #ifdef HAVE_LUA
 extern "C" {
diff --git a/src/surf/surfxml_private.h b/src/surf/surfxml_private.h
deleted file mode 100644 (file)
index dc69ca1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright (c) 2016. 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. */
-
-#ifndef SRC_SURF_SURFXML_PRIVATE_H_
-#define SRC_SURF_SURFXML_PRIVATE_H_
-
-#include "surf/surfxml_parse.h"
-
-SG_BEGIN_DECL()
-
-void sg_platf_trace_connect(sg_platf_trace_connect_cbarg_t trace_connect);
-
-SG_END_DECL()
-
-#endif /* SRC_SURF_SURFXML_PRIVATE_H_ */
index ba6e98c..626e32f 100644 (file)
@@ -337,7 +337,6 @@ set(SURF_SRC
   src/surf/surf_routing_generic.cpp
   src/surf/surf_routing_none.cpp
   src/surf/surf_routing_vivaldi.cpp
-  src/surf/surfxml_private.h
   src/surf/surfxml_parse.cpp
   src/surf/surfxml_parseplatf.cpp
   src/surf/trace_mgr.hpp