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
SIMIX refactoring: replace 'request' by a more precise term: 'simcall'
[simgrid.git]
/
src
/
gras
/
Virtu
/
sg_dns.c
diff --git
a/src/gras/Virtu/sg_dns.c
b/src/gras/Virtu/sg_dns.c
index
0f7cfa9
..
cf15311
100644
(file)
--- a/
src/gras/Virtu/sg_dns.c
+++ b/
src/gras/Virtu/sg_dns.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* sg_dns - name resolution (simulator) */
/* sg_dns - name resolution (simulator) */
-/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2005, 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. */
@@
-10,10
+9,7
@@
#include "gras/Virtu/virtu_sg.h"
#include "gras/Virtu/virtu_sg.h"
-const char *gras_os_myname(void) {
- m_process_t process = MSG_process_self();
- if ((process != NULL) && (process->simdata))
- return MSG_host_get_name(MSG_host_self());
- else
- return "";
+const char *gras_os_myname(void)
+{
+ return SIMIX_host_self_get_name();
}
}