Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define XBT_PUBLIC without parameter, just like XBT_PRIVATE.
[simgrid.git] / src / mc / mc_ignore.h
index fef3326..f146f50 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-2018. 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. */
@@ -7,20 +7,14 @@
 #define SIMGRID_MC_IGNORE_H
 
 #include "src/internal_config.h"
-#include "xbt/dynar.h"
 
 #if HAVE_UCONTEXT_H
 #include <ucontext.h>           /* context relative declarations */
-#endif
-
 
 SG_BEGIN_DECL();
+XBT_PUBLIC void MC_register_stack_area(void* stack, smx_actor_t process, ucontext_t* context, size_t size);
+SG_END_DECL();
 
-#if HAVE_UCONTEXT_H
-XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_actor_t process, ucontext_t* context, size_t size);
 #endif
 
-
-SG_END_DECL();
-
 #endif