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
Fix copyright headers
[simgrid.git]
/
src
/
gras
/
Virtu
/
process.c
diff --git
a/src/gras/Virtu/process.c
b/src/gras/Virtu/process.c
index
f7fb45f
..
2f2b31d
100644
(file)
--- a/
src/gras/Virtu/process.c
+++ b/
src/gras/Virtu/process.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* process - GRAS process handling (common code for RL and SG) */
/* process - GRAS process handling (common code for RL and SG) */
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * 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. */
/* 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. */
@@
-103,10
+102,10
@@
void *gras_libdata_by_name_from_procdata(const char *name,
}
return res;
}
}
return res;
}
-void *gras_libdata_by_id(int id) {
- return gras_libdata_by_id_from_procdata(id,gras_procdata_get());
-}
-void *gras_libdata_by_id_from_procdata(int id,gras_procdata_t *pd) {
+
+void *gras_libdata_by_id(int id)
+{
+ gras_procdata_t *pd = gras_procdata_get();
if (xbt_set_length(pd->libdata) < xbt_dynar_length(_gras_procdata_fabrics)) {
/* Damn, some new modules were added since procdata_init(). Amok? */
/* Get 'em all */
if (xbt_set_length(pd->libdata) < xbt_dynar_length(_gras_procdata_fabrics)) {
/* Damn, some new modules were added since procdata_init(). Amok? */
/* Get 'em all */