diff --git a/libbitdht/src/util/bdnet.cc b/libbitdht/src/util/bdnet.cc index 515ec7fcb..1733ca591 100644 --- a/libbitdht/src/util/bdnet.cc +++ b/libbitdht/src/util/bdnet.cc @@ -297,7 +297,7 @@ int bdnet_errno() { return errno; } /* check if we can modify the TTL on a UDP packet */ -int bdnet_checkTTL(int fd) { return 1;} +int bdnet_checkTTL(int /*fd*/) { return 1;} int bdnet_inet_aton(const char *name, struct in_addr *addr) diff --git a/libbitdht/src/util/bdnet.h b/libbitdht/src/util/bdnet.h index 506281277..2d4ac370d 100644 --- a/libbitdht/src/util/bdnet.h +++ b/libbitdht/src/util/bdnet.h @@ -158,7 +158,7 @@ int bdnet_w2u_errno(int error); * void Sleep(int ms); */ void sleep(int sec); -//void usleep(int usec); +void usleep(int usec); #endif // END of WINDOWS defines. /********************************** WINDOWS/UNIX SPECIFIC PART ******************/