libsa: Remove redundant sys/cdefs.h

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-02-22 08:18:02 -07:00
parent e54bb0ad80
commit 3e15b01d69
165 changed files with 3 additions and 185 deletions

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Loading modules, booting the system
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>

View File

@ -29,7 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*-
* This module implements a "raw device" interface suitable for
* use by the stand-alone I/O library NFS code. This interface

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/disk.h>
#include <sys/queue.h>
#include <stand.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Simple commandline interpreter, toplevel and misc.
*

View File

@ -14,7 +14,6 @@
* Routine for doing backslash elimination.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include "bootstrap.h"

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "bootstrap.h"

View File

@ -14,7 +14,6 @@
* The meat of the simple parser.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include "bootstrap.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Simple commandline interpreter, toplevel and misc.
*/

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Machine-independent ISA PnP enumerator implementing a subset of the
* ISA PnP specification.

View File

@ -1,5 +1,3 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 32
#define _MACHINE_ELF_WANT_32BIT
#include "load_elf.c"

View File

@ -1,5 +1,3 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 32
#define _MACHINE_ELF_WANT_32BIT
#include "load_elf_obj.c"

View File

@ -1,4 +1,2 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include "load_elf.c"

View File

@ -1,4 +1,2 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include "load_elf_obj.c"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/endian.h>

View File

@ -26,7 +26,6 @@
* from: FreeBSD: src/sys/boot/sparc64/loader/metadata.c,v 1.6
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/linker.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <string.h>
#include <stand.h>
#include <bootstrap.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* file/module function dispatcher, support, etc.
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/diskmbr.h>

View File

@ -3,7 +3,6 @@
*
*/
#include <sys/cdefs.h>
/*
* "Plug and Play" functionality.
*

View File

@ -1,4 +1,2 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 32
#include "reloc_elf.c"

View File

@ -1,4 +1,2 @@
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include "reloc_elf.c"

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <stdarg.h>
#include <machine/_inttypes.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* MD bootstrap main() and assorted miscellaneous
* commands.

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include <sys/disklabel.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>
#include <efichar.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/errno.h>
#include <bootstrap.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <efi.h>
#include <efichar.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/disk.h>
#include <sys/param.h>
#include <sys/time.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include <efi.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <eficonsctl.h>
#include <efilib.h>

View File

@ -38,7 +38,6 @@
*
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <efi.h>
#include <efilib.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include <sys/param.h>
#include <sys/exec.h>

View File

@ -34,8 +34,6 @@
* https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html
*/
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/exec.h>
#include <sys/linker.h>

View File

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include <sys/param.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if defined(LOADER_FDT_SUPPORT)
#include <sys/param.h>
#include <fdt_platform.h>

View File

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include <sys/param.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <bootstrap.h>
#include <efi.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <bootstrap.h>
#include <efi.h>
#include <eficonsctl.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <bootstrap.h>
#include <sys/endian.h>
#include <sys/param.h>

View File

@ -27,7 +27,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/disk.h>

View File

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <libfdt.h>
#include <fdt.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "libi386.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <machine/stdarg.h>
#include <bootstrap.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* BIOS disk device handling.
*

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Obtain memory configuration information from the BIOS
*/

View File

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* PnP enumerator using the PCI BIOS.
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* PnP BIOS enumerator.
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Obtain memory configuration information from the BIOS
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/reboot.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/reboot.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/reboot.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <bootstrap.h>
#include <machine/cpufunc.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>
#include "bootstrap.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include <sys/param.h>
#include <sys/exec.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* MD primitives supporting placement of module data
*

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* i386-specific module functionality.
*

View File

@ -35,7 +35,6 @@
* OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <bootstrap.h>

View File

@ -33,7 +33,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/* read into destination in flat addr space */
#include <stand.h>

View File

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <errno.h>
#include <stdbool.h>

View File

@ -35,7 +35,6 @@
* OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <bootstrap.h>

View File

@ -24,12 +24,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
* From: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <stand.h>
#include <bootstrap.h>
#include <btxv86.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <btxv86.h>
#include "bootstrap.h"

View File

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <machine/psl.h>

View File

@ -24,10 +24,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
* From: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <bootstrap.h>

View File

@ -31,7 +31,6 @@
* read in to temporary space and relocate on exec, when btx is stopped.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/linker.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <bootstrap.h>
#include "libi386/libi386.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* MD bootstrap main() and assorted miscellaneous
* commands.

View File

@ -13,7 +13,6 @@
* purpose.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>

View File

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <string.h>

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include <sys/param.h>
#include <sys/exec.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define __ELF_WORD_SIZE 64
#include <sys/param.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "bootstrap.h"

View File

@ -23,7 +23,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include <sys/param.h>
#include <sys/boot.h>

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define _WANT_KERNEL_ERRNO 1
#include <errno.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <lua.h>
#include "lauxlib.h"

View File

@ -25,7 +25,6 @@
*
*/
#include <sys/cdefs.h>
#include "lstd.h"
#include "math.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "bootstrap.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* MD primitives supporting placement of module data
*

View File

@ -23,7 +23,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Disk I/O routines using Open Firmware
*/

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* ofw-specific module functionality.
*

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "openfirm.h"

View File

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
#include "openfirm.h"

View File

@ -55,7 +55,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/endian.h>
#include <machine/stdarg.h>

View File

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stand.h>
void

View File

@ -24,9 +24,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <assert.h>
#include "stand.h"
void

View File

@ -33,7 +33,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/limits.h>

View File

@ -30,7 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* RPC/bootparams
*/

View File

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#ifndef REGRESSION
#include "stand.h"
#else

View File

@ -31,7 +31,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* Stand-alone ISO9660 file reading package.
*

View File

@ -58,7 +58,6 @@
* rights to redistribute these changes.
*/
#include <sys/cdefs.h>
#include "stand.h"
int

View File

@ -26,7 +26,6 @@
*
*/
#include <sys/cdefs.h>
#include "stand.h"
void

Some files were not shown because too many files have changed in this diff Show More