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.h
diff --git
a/examples/c/app-bittorrent/bittorrent-peer.h
b/examples/c/app-bittorrent/bittorrent-peer.h
index
6020c06
..
70171a6
100644
(file)
--- a/
examples/c/app-bittorrent/bittorrent-peer.h
+++ b/
examples/c/app-bittorrent/bittorrent-peer.h
@@
-57,7
+57,7
@@
typedef s_peer_t* peer_t;
typedef const s_peer_t* const_peer_t;
/** Peer main function */
-void peer(int argc, char* argv[]);
+void peer
_run
(int argc, char* argv[]);
int get_peers_from_tracker(const_peer_t peer);
void send_handshake_to_all_peers(const_peer_t peer);