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
Rename variables to avoid shadowed declarations.
[simgrid.git]
/
examples
/
c
/
app-bittorrent
/
bittorrent-peer.c
diff --git
a/examples/c/app-bittorrent/bittorrent-peer.c
b/examples/c/app-bittorrent/bittorrent-peer.c
index
9a0e826
..
2d5275c
100644
(file)
--- a/
examples/c/app-bittorrent/bittorrent-peer.c
+++ b/
examples/c/app-bittorrent/bittorrent-peer.c
@@
-77,7
+77,7
@@
static void peer_free(peer_t peer)
}
/** Peer main function */
-void peer(int argc, char* argv[])
+void peer
_run
(int argc, char* argv[])
{
// Check arguments
xbt_assert(argc == 3 || argc == 4, "Wrong number of arguments");