summaryrefslogtreecommitdiff
path: root/usr.sbin/acpidump/acpidump.h
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-06-04 02:25:54 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-06-04 02:25:54 +0000
commitf55a888462678d374b01d4a2fed7f72e85384ae7 (patch)
tree5ccb3e0f06ff8d5da334a3bfeb05c126dd924891 /usr.sbin/acpidump/acpidump.h
parent8fa93c8e129db89e65d6b737281a95b5c7444727 (diff)
Clean up gcc-isms. OK tholo
Diffstat (limited to 'usr.sbin/acpidump/acpidump.h')
-rw-r--r--usr.sbin/acpidump/acpidump.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/acpidump/acpidump.h b/usr.sbin/acpidump/acpidump.h
index 4d1ce79966e..b090218d4cd 100644
--- a/usr.sbin/acpidump/acpidump.h
+++ b/usr.sbin/acpidump/acpidump.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidump.h,v 1.1 2005/06/02 20:09:39 tholo Exp $ */
+/* $OpenBSD: acpidump.h,v 1.2 2005/06/04 02:25:53 cloder Exp $ */
/*-
* Copyright (c) 1999 Doug Rabson
* Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: acpidump.h,v 1.1 2005/06/02 20:09:39 tholo Exp $
+ * $Id: acpidump.h,v 1.2 2005/06/04 02:25:53 cloder Exp $
* $FreeBSD: src/usr.sbin/acpi/acpidump/acpidump.h,v 1.2 2000/11/08 02:37:00 iwasaki Exp $
*/
@@ -162,7 +162,8 @@ struct FACS {
void *acpi_map_physical(vm_offset_t, size_t);
struct ACPIrsdp *acpi_find_rsd_ptr(void);
-int acpi_checksum(void *, size_t);
+int acpi_checksum(void *, size_t)
+ __attribute__ ((__bounded__(__buffer__,1,2)));
struct ACPIsdt *acpi_map_sdt(vm_offset_t);
void acpi_print_rsd_ptr(struct ACPIrsdp *);
void acpi_print_sdt(struct ACPIsdt *);