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
- Reduce the number of system headers loaded, overload some more system
[simgrid.git]
/
src
/
gras
/
Virtu
/
rl_process.c
diff --git
a/src/gras/Virtu/rl_process.c
b/src/gras/Virtu/rl_process.c
index
c49e663
..
7f4846f
100644
(file)
--- a/
src/gras/Virtu/rl_process.c
+++ b/
src/gras/Virtu/rl_process.c
@@
-10,15
+10,16
@@
#include "gras/Virtu/virtu_rl.h"
#include "gras/Virtu/virtu_rl.h"
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(process,GRAS);
-
+GRAS_LOG_EXTERNAL_CATEGORY(process);
+GRAS_LOG_DEFAULT_CATEGORY(process);
+
/* globals */
static gras_procdata_t *_gras_procdata = NULL;
gras_error_t gras_process_init() {
gras_error_t errcode;
/* globals */
static gras_procdata_t *_gras_procdata = NULL;
gras_error_t gras_process_init() {
gras_error_t errcode;
- if (!(_gras_procdata=
(gras_procdata_t *)malloc(sizeof(gras_procdata_t)
)))
+ if (!(_gras_procdata=
gras_new(gras_procdata_t,1
)))
RAISE_MALLOC;
TRY(gras_procdata_init());
RAISE_MALLOC;
TRY(gras_procdata_init());