git: 3f43420049bf - stable/13 - stand: tftp.c doesn't need bootinfo.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:11:31 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3f43420049bf643f802d8b6c9889a0b9c1a5ade9
commit 3f43420049bf643f802d8b6c9889a0b9c1a5ade9
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-26 03:45:35 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:27 +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
(cherry picked from commit 60cb4f9a8e258e917634d23fb1d589eef38e579c)
---
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 25bb233ebfcd..9fbc9cc91b14 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -182,7 +182,6 @@ CFLAGS.ffs_subr.c+= -DSTANDALONE_SMALL
.endif
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"