X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7fd9f0fc3eea5c364b2585d744075077e12b3b9..7f00b09c7ebfa3b4e12c96c764ee7a0e0e07ec20:/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 70171a6702..7757e668bc 100644 --- a/examples/c/app-bittorrent/bittorrent-peer.h +++ b/examples/c/app-bittorrent/bittorrent-peer.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2022. The SimGrid Team. +/* Copyright (c) 2012-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -73,7 +73,7 @@ int is_interested(const_peer_t peer, const_connection_t remote_peer); int is_interested_and_free(const_peer_t peer, const_connection_t remote_peer); void update_pieces_count_from_bitfield(const_peer_t peer, unsigned int bitfield); -int count_pieces(unsigned int bitfield); +unsigned int count_pieces(unsigned int bitfield); int nb_interested_peers(const_peer_t peer); void leech(peer_t peer);