1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

powerpc: Move ppc32_runtime_resolve() declaration to the right place

The function is only used in 32-bit kernels, so move the declaration to
!powerpc64.
This commit is contained in:
Justin Hibbits 2019-12-26 22:47:24 +00:00
parent 56c049a003
commit e211e5fec6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356102

View File

@ -63,7 +63,6 @@
extern const char *freebsd32_syscallnames[];
static void ppc32_fixlimit(struct rlimit *rl, int which);
static void ppc32_runtime_resolve(void);
static SYSCTL_NODE(_compat, OID_AUTO, ppc32, CTLFLAG_RW, 0, "32-bit mode");
@ -75,6 +74,8 @@ SYSCTL_ULONG(_compat_ppc32, OID_AUTO, maxdsiz, CTLFLAG_RWTUN, &ppc32_maxdsiz,
u_long ppc32_maxssiz = PPC32_MAXSSIZ;
SYSCTL_ULONG(_compat_ppc32, OID_AUTO, maxssiz, CTLFLAG_RWTUN, &ppc32_maxssiz,
0, "");
#else
static void ppc32_runtime_resolve(void);
#endif
struct sysentvec elf32_freebsd_sysvec = {