Unexport sock_set_rx_timeout

This commit is contained in:
Joseph C. Lehner 2016-02-05 18:10:36 +02:00
parent ad7f69f0c5
commit 486a3a2e69
2 changed files with 1 additions and 2 deletions

View file

@ -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);

2
tftp.c
View file

@ -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;