aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2024-05-10 21:15:42 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2024-05-10 21:16:26 +0000
commit1111da6b7c612c571453a23a8dd02fd5e7e40b18 (patch)
treefad89161be877a9538cb9e6fb0d43b26f0681d33
parent816c4d3dcf99adcd40a03d93431237ddbd23bbdf (diff)
downloadsrc-1111da6b7c612c571453a23a8dd02fd5e7e40b18.tar.gz
src-1111da6b7c612c571453a23a8dd02fd5e7e40b18.zip
tftpd: Drop unneeded includes.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45130
-rw-r--r--libexec/tftpd/tftp-file.h1
-rw-r--r--libexec/tftpd/tftp-io.h1
-rw-r--r--libexec/tftpd/tftp-options.h1
-rw-r--r--libexec/tftpd/tftp-transfer.h1
-rw-r--r--libexec/tftpd/tftp-utils.h1
5 files changed, 0 insertions, 5 deletions
diff --git a/libexec/tftpd/tftp-file.h b/libexec/tftpd/tftp-file.h
index 0fb7f6c1decc..c424e5cbc75b 100644
--- a/libexec/tftpd/tftp-file.h
+++ b/libexec/tftpd/tftp-file.h
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
int write_init(int fd, FILE *f, const char *mode);
size_t write_file(char *buffer, int count);
int write_close(void);
diff --git a/libexec/tftpd/tftp-io.h b/libexec/tftpd/tftp-io.h
index 85934e824a1a..1d6bc2bd8b5e 100644
--- a/libexec/tftpd/tftp-io.h
+++ b/libexec/tftpd/tftp-io.h
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#define RP_NONE 0
#define RP_RECVFROM -1
#define RP_TOOSMALL -2
diff --git a/libexec/tftpd/tftp-options.h b/libexec/tftpd/tftp-options.h
index c68db53de4e2..f1b0a5cfaf32 100644
--- a/libexec/tftpd/tftp-options.h
+++ b/libexec/tftpd/tftp-options.h
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/*
* Options
*/
diff --git a/libexec/tftpd/tftp-transfer.h b/libexec/tftpd/tftp-transfer.h
index 48431ebbc863..449f29c246e0 100644
--- a/libexec/tftpd/tftp-transfer.h
+++ b/libexec/tftpd/tftp-transfer.h
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
int tftp_send(int peer, uint16_t *block, struct tftp_stats *tp);
int tftp_receive(int peer, uint16_t *block, struct tftp_stats *tp,
struct tftphdr *firstblock, size_t fb_size);
diff --git a/libexec/tftpd/tftp-utils.h b/libexec/tftpd/tftp-utils.h
index 763b3b493c7e..f87bbcccc71c 100644
--- a/libexec/tftpd/tftp-utils.h
+++ b/libexec/tftpd/tftp-utils.h
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/*
*/
#define TIMEOUT 5