From 486a3a2e6973947706fa19ae809a41782fd400b2 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Fri, 5 Feb 2016 18:10:36 +0200 Subject: [PATCH] Unexport sock_set_rx_timeout --- nmrpd.h | 1 - tftp.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.25.1