From 60cb4f9a8e258e917634d23fb1d589eef38e579c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 25 Jul 2022 21:45:35 -0600 Subject: [PATCH] stand: tftp.c doesn't need bootinfo.h tftp.c includes bootinfo.h, but doesn't need it. Remove it, and remove the -Istand/common from CFALGS since that's the only reason we had it. Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D35928 --- stand/libsa/Makefile | 1 - stand/libsa/tftp.c | 1 - 2 files changed, 2 deletions(-) diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 6351027c99cd..de25a596d1ec 100644 --- a/stand/libsa/Makefile +++ b/stand/libsa/Makefile @@ -171,7 +171,6 @@ SRCS+= time.c SRCS+=ffs_subr.c ffs_tables.c CFLAGS.dosfs.c+= -I${LDRSRC} -CFLAGS.tftp.c+= -I${LDRSRC} CFLAGS.ufs.c+= -I${LDRSRC} CFLAGS.gzipfs.c+= ${ZLIB_CFLAGS} CFLAGS.pkgfs.c+= ${ZLIB_CFLAGS} diff --git a/stand/libsa/tftp.c b/stand/libsa/tftp.c index c520a9e3b3b1..903537b4bbe5 100644 --- a/stand/libsa/tftp.c +++ b/stand/libsa/tftp.c @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include "stand.h" #include "net.h" #include "netif.h"