mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
powerpc: Use valid prototypes for function declarations with no arguments.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39733
This commit is contained in:
parent
4640fd28a1
commit
9b02f2daf4
2
sys/contrib/ncsw/user/env/core.c
vendored
2
sys/contrib/ncsw/user/env/core.c
vendored
|
@ -33,7 +33,7 @@
|
||||||
#include "types_ext.h"
|
#include "types_ext.h"
|
||||||
#include "core_ext.h"
|
#include "core_ext.h"
|
||||||
|
|
||||||
uint32_t E500_GetId()
|
uint32_t E500_GetId(void)
|
||||||
{
|
{
|
||||||
return PCPU_GET(cpuid);
|
return PCPU_GET(cpuid);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1311,7 +1311,7 @@ moea_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
moea_init()
|
moea_init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
moea_upvo_zone = uma_zcreate("UPVO entry", sizeof (struct pvo_entry),
|
moea_upvo_zone = uma_zcreate("UPVO entry", sizeof (struct pvo_entry),
|
||||||
|
@ -2775,7 +2775,7 @@ moea_dumpsys_map(vm_paddr_t pa, size_t sz, void **va)
|
||||||
extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1];
|
extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1];
|
||||||
|
|
||||||
void
|
void
|
||||||
moea_scan_init()
|
moea_scan_init(void)
|
||||||
{
|
{
|
||||||
struct pvo_entry *pvo;
|
struct pvo_entry *pvo;
|
||||||
vm_offset_t va;
|
vm_offset_t va;
|
||||||
|
|
|
@ -1054,7 +1054,7 @@ mmu_booke_kextract(vm_offset_t va)
|
||||||
* system needs to map virtual memory.
|
* system needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
mmu_booke_init()
|
mmu_booke_init(void)
|
||||||
{
|
{
|
||||||
int shpgperproc = PMAP_SHPGPERPROC;
|
int shpgperproc = PMAP_SHPGPERPROC;
|
||||||
|
|
||||||
|
@ -2119,7 +2119,7 @@ mmu_booke_dumpsys_unmap(vm_paddr_t pa, size_t sz, void *va)
|
||||||
extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1];
|
extern struct dump_pa dump_map[PHYS_AVAIL_SZ + 1];
|
||||||
|
|
||||||
void
|
void
|
||||||
mmu_booke_scan_init()
|
mmu_booke_scan_init(void)
|
||||||
{
|
{
|
||||||
vm_offset_t va;
|
vm_offset_t va;
|
||||||
pte_t *pte;
|
pte_t *pte;
|
||||||
|
@ -2822,7 +2822,7 @@ tlb1_mapin_region(vm_offset_t va, vm_paddr_t pa, vm_size_t size, int wimge)
|
||||||
* assembler level setup done in locore.S.
|
* assembler level setup done in locore.S.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
tlb1_init()
|
tlb1_init(void)
|
||||||
{
|
{
|
||||||
vm_offset_t mas2;
|
vm_offset_t mas2;
|
||||||
uint32_t mas0, mas1, mas3, mas7;
|
uint32_t mas0, mas1, mas3, mas7;
|
||||||
|
|
|
@ -121,7 +121,7 @@ static struct ofw_compat_data jog_compat[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct ofw_compat_data *
|
static struct ofw_compat_data *
|
||||||
mpc85xx_jog_devcompat()
|
mpc85xx_jog_devcompat(void)
|
||||||
{
|
{
|
||||||
phandle_t node;
|
phandle_t node;
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -407,7 +407,7 @@ elf_cpu_unload_file(linker_file_t lf __unused)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
ppc32_runtime_resolve()
|
ppc32_runtime_resolve(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue