From: Joseph C. Lehner Date: Fri, 5 Feb 2016 16:10:36 +0000 (+0200) Subject: Unexport sock_set_rx_timeout X-Git-Tag: v0.9~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=486a3a2e6973947706fa19ae809a41782fd400b2;p=oweals%2Fnmrpflash.git Unexport sock_set_rx_timeout --- diff --git a/nmrpd.h b/nmrpd.h index 71d37c4..befa932 100644 --- a/nmrpd.h +++ b/nmrpd.h @@ -66,7 +66,6 @@ struct nmrpd_args { int force_root; }; -int sock_set_rx_timeout(int sock, unsigned msec); int tftp_put(struct nmrpd_args *args); int nmrp_do(struct nmrpd_args *args); diff --git a/tftp.c b/tftp.c index a9aac18..d263035 100644 --- a/tftp.c +++ b/tftp.c @@ -182,7 +182,7 @@ static ssize_t tftp_sendto(int sock, char *pkt, size_t len, return sent; } -int sock_set_rx_timeout(int fd, unsigned msec) +static int sock_set_rx_timeout(int fd, unsigned msec) { struct timeval tv;