Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some more MC examples
[simgrid.git] / src / mc / mc_dwarf_attrnames.cpp
index 17e4446..ce4ddd4 100644 (file)
@@ -6,17 +6,21 @@
 
 /* Warning: autogenerated, do not edit! */
 
-#include <xbt/base.h>
 #include <dwarf.h>
+#include <src/mc/mc_dwarf.hpp>
 
-#include "mc_object_info.h"
+#include "xbt/base.h"
+
+namespace simgrid {
+namespace dwarf  {
 
 /** \brief Get the name of an attribute (DW_AT_*) from its code
  *
  *  \param attr attribute code (see the DWARF specification)
  *  \return name of the attribute
  */
-const char *MC_dwarf_attrname(int attr)
+XBT_PRIVATE
+const char *attrname(int attr)
 {
   switch (attr) {
   case 0x01: return "DW_AT_sibling";
@@ -162,3 +166,6 @@ const char *MC_dwarf_attrname(int attr)
     return "DW_AT_unknown";
   }
 }
+
+}
+}