A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the possibility to remove an item in the middle of the list.
[simgrid.git]
/
src
/
xbt
/
error.c
diff --git
a/src/xbt/error.c
b/src/xbt/error.c
index
9cf52d5
..
d39050c
100644
(file)
--- a/
src/xbt/error.c
+++ b/
src/xbt/error.c
@@
-11,14
+11,14
@@
#include "xbt/error.h"
/**
#include "xbt/error.h"
/**
- *
gras
_error_name:
+ *
xbt
_error_name:
* @errcode:
* @Returns: the printable name of an error code
*
* usefull to do nice error repporting messages
*/
* @errcode:
* @Returns: the printable name of an error code
*
* usefull to do nice error repporting messages
*/
-const char *
gras_error_name(gras
_error_t errcode) {
+const char *
xbt_error_name(xbt
_error_t errcode) {
switch (errcode) {
switch (errcode) {
@@
-34,11
+34,11
@@
const char *gras_error_name(gras_error_t errcode) {
}
}
}
}
-
GRAS
_LOG_EXTERNAL_CATEGORY(gras);
-
GRAS
_LOG_DEFAULT_CATEGORY(gras);
+
XBT
_LOG_EXTERNAL_CATEGORY(gras);
+
XBT
_LOG_DEFAULT_CATEGORY(gras);
-void
gras
_die (const char *msg) {
+void
xbt
_die (const char *msg) {
CRITICAL1("%s",msg);
CRITICAL1("%s",msg);
-
gras
_abort();
+
xbt
_abort();
}
}