loader: Remove unneeded includes

We've not needed to include link.h in the loader for a long time. I
shoud have removed it in f38658e140 rather than going link.h ->
sys/sys_link.h. It's purely a userland shared library thing. Remove it
now, since it's not needed. Also remove a few headers that are redundant
with stand.h in this environment.

Sponsored by:		Netflix
Reviewed by:		kevans, andrew,	jhibbits
Differential Revision:	https://reviews.freebsd.org/D49859
This commit is contained in:
Warner Losh
2025-04-16 22:03:56 -06:00
parent f0f44cdb69
commit d27413a7d7
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -30,11 +30,8 @@
#include <sys/exec.h>
#include <sys/linker.h>
#include <sys/module.h>
#include <sys/stdint.h>
#include <string.h>
#include <machine/elf.h>
#include <stand.h>
#include <sys/link_elf.h>
#include "bootstrap.h"
#include "modinfo.h"
-3
View File
@@ -30,11 +30,8 @@
#include <sys/exec.h>
#include <sys/linker.h>
#include <sys/module.h>
#include <stdint.h>
#include <string.h>
#include <machine/elf.h>
#include <stand.h>
#include <sys/link_elf.h>
#include "bootstrap.h"
#include "modinfo.h"