Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In MSG_process_create_with_environment, inversion of the SIMIX process creation and...
[simgrid.git] / src / mc / mc_dwarf_attrnames.cpp
index 348cb60..193379a 100644 (file)
@@ -6,15 +6,20 @@
 
 /* Warning: autogenerated, do not edit! */
 
-#include <xbt/base.h>
 #include <dwarf.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";
@@ -160,3 +165,6 @@ const char *MC_dwarf_attrname(int attr)
     return "DW_AT_unknown";
   }
 }
+
+}
+}