X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2539fff313cbd67c45b8490f7961e45e358d9ba2..e0d3ce3ae644257d5260f2cda5599efdcf59e040:/src/amok/base.c diff --git a/src/amok/base.c b/src/amok/base.c index 2474e95007..deeec6a8d7 100644 --- a/src/amok/base.c +++ b/src/amok/base.c @@ -1,15 +1,13 @@ /* $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 - 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"); @@ -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) { - if ((*err)->msg) xbt_free((*err)->msg); - xbt_free(*err); + if ((*err)->msg) free((*err)->msg); + free(*err); err=NULL; } } @@ -89,6 +87,6 @@ void amok_base_init(void) { } void amok_base_exit(void) { - /* No real module mecanism in GRAS so far, nothing to do. */ + /* No real module mechanism in GRAS so far, nothing to do. */ }