Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused macros.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 16 Oct 2017 20:08:02 +0000 (22:08 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 16 Oct 2017 20:47:29 +0000 (22:47 +0200)
include/xbt/ex.h
src/xbt/dict_cursor.c

index 6307177..b475442 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2005-2015. The SimGrid Team.
+/* Copyright (c) 2005-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /*  Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com>       */
  * All rights reserved.                                                     */
 
 /*  Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com>       */
 #include "xbt/misc.h"
 #include "xbt/virtu.h"
 
 #include "xbt/misc.h"
 #include "xbt/virtu.h"
 
-/*-*-* Emergency debuging: define this when the exceptions get crazy *-*-*/
-#undef __EX_MAYDAY
-#ifdef __EX_MAYDAY
-# include <stdio.h>
-#include <errno.h>
-#  define MAYDAY_SAVE(m)    printf("%d %s:%d save %p\n",                \
-                                   xbt_getpid(), __FILE__, __LINE__,    \
-                                   (m)->jb                              \
-                                  ),
-#  define MAYDAY_RESTORE(m) printf("%d %s:%d restore %p\n",             \
-                                   xbt_getpid(), __FILE__, __LINE__,    \
-                                   (m)->jb                              \
-                                  ),
-#  define MAYDAY_CATCH(e)   printf("%d %s:%d Catched '%s'\n",           \
-                                   xbt_getpid(), __FILE__, __LINE__,    \
-                                   (e).msg                              \
-          ),
-#else
-#  define MAYDAY_SAVE(m)
-#  define MAYDAY_RESTORE(m)
-#  define MAYDAY_CATCH(e)
-#endif
-/*-*-* end of debugging stuff *-*-*/
-
 /** @addtogroup XBT_ex_c
  *  @brief Exceptions support (C)
  *
 /** @addtogroup XBT_ex_c
  *  @brief Exceptions support (C)
  *
index 38c7930..574a4e6 100644 (file)
@@ -1,6 +1,6 @@
 /* dict_cursor - iterators over dictionaries                               */
 
 /* dict_cursor - iterators over dictionaries                               */
 
-/* Copyright (c) 2004-2014. The SimGrid Team.
+/* Copyright (c) 2004-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -19,9 +19,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_dict_cursor, xbt_dict, "To traverse dictiona
 /* Don't add or remove entries to the dict while traversing !!!             */
 /*###########################################################################*/
 
 /* Don't add or remove entries to the dict while traversing !!!             */
 /*###########################################################################*/
 
-#undef xbt_dict_CURSOR_DEBUG
-/*#define xbt_dict_CURSOR_DEBUG 1*/
-
 /** @brief Creator
  *  @param dict the dict
  */
 /** @brief Creator
  *  @param dict the dict
  */