Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename some fields (ignorable)
[simgrid.git] / src / include / instr / instr_interface.h
index 0f5c429..0901fbd 100644 (file)
@@ -1,8 +1,12 @@
+/* Copyright (c) 2012-2014. 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. */
+
 #include "xbt.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+SG_BEGIN_DECL()
 
 XBT_PUBLIC(int) TRACE_start (void);
 XBT_PUBLIC(int) TRACE_end (void);
@@ -13,6 +17,4 @@ XBT_PUBLIC(void) TRACE_surf_resource_utilization_release(void);
 XBT_PUBLIC(void) TRACE_add_start_function(void (*func)(void));
 XBT_PUBLIC(void) TRACE_add_end_function(void (*func)(void));
 
-#ifdef __cplusplus
-}
-#endif
+SG_END_DECL()