Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Remove sg_cabinet_cb
[simgrid.git] / src / mc / mc_dwarf_tagnames.cpp
index 8311eeb..19ee9af 100644 (file)
 #include <elfutils/libdw.h>
 
 #include <xbt/base.h>
-#include "mc_object_info.h"
+
+namespace simgrid {
+namespace dwarf {
 
 /** \brief Get the name of a dwarf tag (DW_TAG_*) from its code
  *
  *  \param tag tag code (see the DWARF specification)
  *  \return name of the tag
  */
-XBT_INTERNAL
-const char *MC_dwarf_tagname(int tag)
+XBT_PRIVATE
+const char *tagname(int tag)
 {
   switch (tag) {
   case 0x01: return "DW_TAG_array_type";
@@ -101,3 +103,6 @@ const char *MC_dwarf_tagname(int tag)
     return "DW_TAG_unknown";
   }
 }
+
+}
+}