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
This commit is contained in:
Warner Losh 2024-11-20 12:37:08 -07:00
parent 95b71a659a
commit 780f289297
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
#include <disk.h> #include <disk.h>
#include <dev_net.h> #include <dev_net.h>
#include <net.h> #include <net.h>
#include <inttypes.h> #include <machine/_inttypes.h>
#include <efi.h> #include <efi.h>
#include <efilib.h> #include <efilib.h>

View File

@ -200,7 +200,7 @@ MAN=libsa.3
# Create a subset of includes that are safe, as well as adjusting those that aren't # 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 # The lists may drive people nuts, but they are explicitly opt-in
FAKE_DIRS=xlocale arpa ssp 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 STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h unistd.h
OTHER_INC=stdarg.h errno.h stdint.h OTHER_INC=stdarg.h errno.h stdint.h