git: 60cb4f9a8e25 - main - stand: tftp.c doesn't need bootinfo.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 15:06:22 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=60cb4f9a8e258e917634d23fb1d589eef38e579c
commit 60cb4f9a8e258e917634d23fb1d589eef38e579c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-26 03:45:35 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-27 15:04:13 +0000
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 <string.h>
-#include <bootstrap.h>
#include "stand.h"
#include "net.h"
#include "netif.h"