git: 780f28929782 - main - stand: drop inttypes.h from safe list

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 20 Nov 2024 19:49:58 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=780f28929782a104eefbc81f031836bf1febb6de

commit 780f28929782a104eefbc81f031836bf1febb6de
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-11-20 19:37:08 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-11-20 19:49:48 +0000

    stand: drop inttypes.h from safe list
    
    Nothing uses it anymore, so drop it from the 'safe' list. Also, move
    stand/efi/loader/main.c to using machine/_inttypes.h which is all it
    really needs.
    
    Sponsored by:           Netflix
---
 stand/efi/loader/main.c | 2 +-
 stand/libsa/Makefile    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index 500fcba20938..213089961704 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -45,7 +45,7 @@
 #include <disk.h>
 #include <dev_net.h>
 #include <net.h>
-#include <inttypes.h>
+#include <machine/_inttypes.h>
 
 #include <efi.h>
 #include <efilib.h>
diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 603fee71e84a..42ef3e69c18a 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -200,7 +200,7 @@ MAN=libsa.3
 # Create a subset of includes that are safe, as well as adjusting those that aren't
 # The lists may drive people nuts, but they are explicitly opt-in
 FAKE_DIRS=xlocale arpa ssp
-SAFE_INCS=a.out.h assert.h elf.h inttypes.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h
+SAFE_INCS=a.out.h assert.h elf.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h
 STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h unistd.h
 OTHER_INC=stdarg.h errno.h stdint.h