From 335615c4cad79765b46048bfa782120fd9cadb95 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 5 Dec 2022 10:40:15 -0700 Subject: stand: update prototypes for md_load and md_load64 These are declared as extern in a number of files (some with the wrong return type). Centralize this in modinfo.h and remove a few extra stray declarations as well that are no longer used. No functional change. Note: I've not tried to cope with the bi_load() functions which are the same logical thing. These will be handled separately. Sponsored by: Netflix --- stand/common/modinfo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stand/common') diff --git a/stand/common/modinfo.h b/stand/common/modinfo.h index e4739df0b68f..967367beeeb0 100644 --- a/stand/common/modinfo.h +++ b/stand/common/modinfo.h @@ -6,6 +6,9 @@ #ifndef COMMON_MODINFO_H #define COMMON_MODINFO_H +int md_load(char *args, vm_offset_t *modulep, vm_offset_t *dtb); +int md_load64(char *args, vm_offset_t *modulep, vm_offset_t *dtb); + vm_offset_t md_copymodules(vm_offset_t addr, bool kern64); vm_offset_t md_copyenv(vm_offset_t addr); -- cgit v1.2.3