summaryrefslogtreecommitdiff
path: root/libexec/tftpd/tftp-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tftpd/tftp-io.c')
-rw-r--r--libexec/tftpd/tftp-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c
index 3ce4f6ef44e70..d5d7fc6401fc8 100644
--- a/libexec/tftpd/tftp-io.c
+++ b/libexec/tftpd/tftp-io.c
@@ -53,7 +53,7 @@ struct sockaddr_storage me_sock;
static int send_packet(int peer, uint16_t block, char *pkt, int size);
-struct errmsg {
+static struct errmsg {
int e_code;
const char *e_msg;
} errmsgs[] = {
@@ -375,7 +375,7 @@ send_data(int peer, uint16_t block, char *data, int size)
/*
* Receive a packet
*/
-jmp_buf timeoutbuf;
+static jmp_buf timeoutbuf;
static void
timeout(int sig __unused)