diff options
author | des <des@FreeBSD.org> | 2004-05-10 21:18:03 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-05-10 21:18:03 +0000 |
commit | 31cd8c7867059736de706bb0c1643ca3d26395d0 (patch) | |
tree | f7946fc96a663a19ad13a883e3c7c54f16c42a63 /usr.sbin/acpi | |
parent | 95d16c325aa3222d4a6a002bf09963b7174dae3b (diff) | |
download | FreeBSD-src-31cd8c7867059736de706bb0c1643ca3d26395d0.zip FreeBSD-src-31cd8c7867059736de706bb0c1643ca3d26395d0.tar.gz |
Minor style issues.
Diffstat (limited to 'usr.sbin/acpi')
-rw-r--r-- | usr.sbin/acpi/acpidump/acpi.c | 2 | ||||
-rw-r--r-- | usr.sbin/acpi/acpidump/acpi_user.c | 4 | ||||
-rw-r--r-- | usr.sbin/acpi/acpidump/acpidump.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 49364d4..e0aa157 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -684,7 +684,7 @@ acpi_handle_rsdt(struct ACPIsdt *rsdp) } struct ACPIsdt * -sdt_load_devmem() +sdt_load_devmem(void) { struct ACPIrsdp *rp; struct ACPIsdt *rsdp; diff --git a/usr.sbin/acpi/acpidump/acpi_user.c b/usr.sbin/acpi/acpidump/acpi_user.c index 4b38fef..de1f1a5 100644 --- a/usr.sbin/acpi/acpidump/acpi_user.c +++ b/usr.sbin/acpi/acpidump/acpi_user.c @@ -96,7 +96,7 @@ acpi_user_find_mapping(vm_offset_t pa, size_t size) * Public interfaces */ struct ACPIrsdp * -acpi_find_rsd_ptr() +acpi_find_rsd_ptr(void) { struct ACPIrsdp rsdp; u_long addr; @@ -106,7 +106,7 @@ acpi_find_rsd_ptr() /* Attempt to use sysctl to find RSD PTR record */ len = sizeof(addr); - if (sysctlbyname(machdep_acpi_root, &addr, &len, NULL, 0) == 0) { + if (sysctlbyname(machdep_acpi_root, &addr, &len, NULL, 0) == 0) { pread(acpi_mem_fd, &rsdp, sizeof(rsdp), addr); if (memcmp(rsdp.signature, "RSD PTR ", 8) != 0) errx(1, "sysctl %s does not point to RSDP", diff --git a/usr.sbin/acpi/acpidump/acpidump.h b/usr.sbin/acpi/acpidump/acpidump.h index 0d13adc..30508ee 100644 --- a/usr.sbin/acpi/acpidump/acpidump.h +++ b/usr.sbin/acpi/acpidump/acpidump.h @@ -306,14 +306,14 @@ struct ACPIsdt *dsdt_load_file(char *); void dsdt_save_file(char *, struct ACPIsdt *); /* Print out as many fixed tables as possible, given the RSD PTR */ -void sdt_print_all(struct ACPIsdt *); +void sdt_print_all(struct ACPIsdt *); /* Disassemble the AML in the DSDT */ -void aml_disassemble(struct ACPIsdt *); +void aml_disassemble(struct ACPIsdt *); /* Routines for accessing tables in physical memory */ struct ACPIrsdp *acpi_find_rsd_ptr(void); -void * acpi_map_physical(vm_offset_t, size_t); +void *acpi_map_physical(vm_offset_t, size_t); struct ACPIsdt *sdt_from_rsdt(struct ACPIsdt *, const char *); struct ACPIsdt *dsdt_from_fadt(struct FADTbody *); int acpi_checksum(void *, size_t); |