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
regenerate on valnure (dynar exchange)
[simgrid.git]
/
src
/
amok
/
base.c
diff --git
a/src/amok/base.c
b/src/amok/base.c
index
2474e95
..
deeec6a
100644
(file)
--- a/
src/amok/base.c
+++ b/
src/amok/base.c
@@
-1,15
+1,13
@@
/* $Id$ */
/* $Id$ */
-/* base - several addons to do specific stuff not in GRAS itself */
+/* base - several addons to do specific stuff not in GRAS itself
*/
-/* Authors: Martin Quinson */
-/* Copyright (C) 2003 the OURAGAN project. */
+/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* 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. */
+
*
under the terms of the license (GNU LGPL) which comes with this package. */
-#include "xbt/error.h"
-#include "gras/datadesc.h"
+#include "gras.h"
#include "amok/base.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(amok,XBT_LOG_ROOT_CAT,"All AMOK categories");
#include "amok/base.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(amok,XBT_LOG_ROOT_CAT,"All AMOK categories");
@@
-42,8
+40,8
@@
amok_remoterr_t amok_remoterr_new_va(xbt_error_t param_errcode,
void amok_remoterr_free(amok_remoterr_t *err) {
if (err && *err) {
void amok_remoterr_free(amok_remoterr_t *err) {
if (err && *err) {
- if ((*err)->msg)
xbt_
free((*err)->msg);
-
xbt_
free(*err);
+ if ((*err)->msg) free((*err)->msg);
+ free(*err);
err=NULL;
}
}
err=NULL;
}
}
@@
-89,6
+87,6
@@
void amok_base_init(void) {
}
void amok_base_exit(void) {
}
void amok_base_exit(void) {
- /* No real module mecanism in GRAS so far, nothing to do. */
+ /* No real module mec
h
anism in GRAS so far, nothing to do. */
}
}