Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove useless includes
[simgrid.git] / include / xbt / lib.h
index 5e10edd..56a9007 100644 (file)
@@ -6,8 +6,8 @@
 /* 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 _XBT_LIB_H
-#define _XBT_LIB_H
+#ifndef XBT_LIB_H
+#define XBT_LIB_H
 
 #include <xbt/dict.h>
 
@@ -77,15 +77,4 @@ XBT_PUBLIC(void) xbt_lib_remove(xbt_lib_t lib, const char *key);
 
 SG_END_DECL()
 
-#ifdef __cplusplus
-namespace simgrid {
-namespace xbt {
-  inline void destroy(xbt_lib_t l)
-  {
-    xbt_lib_free(&l);
-  }
-}
-}
-#endif
-
 #endif                          /* _XBT_LIB_H */