diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-04-19 23:56:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-04-19 23:56:11 +0000 |
commit | 3249f56ac424bb7e860d503782462cf753eb95dc (patch) | |
tree | 67054bb75a8207d543c0f8b5a2464bf2d28c144d /sys/dev/acpi/dsdt.c | |
parent | 3feeeda802b50bd03c9f2fb8fe3325afccb3d5c0 (diff) |
clean out some tiny nits
Diffstat (limited to 'sys/dev/acpi/dsdt.c')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index a586b036163..5b98046d42a 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.183 2011/04/18 00:40:26 jordan Exp $ */ +/* $OpenBSD: dsdt.c,v 1.184 2011/04/19 23:56:10 deraadt Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -1504,7 +1504,7 @@ aml_callosi(struct aml_scope *scope, struct aml_value *val) } void -aml_create_defaultobjects() +aml_create_defaultobjects(void) { struct aml_value *tmp; struct aml_defval *def; @@ -1677,7 +1677,7 @@ int aml_fixup_node(struct aml_node *node, void *arg) } void -aml_postparse() +aml_postparse(void) { aml_walknodes(&aml_root, AML_WALK_PRE, aml_fixup_node, NULL); } @@ -2156,7 +2156,7 @@ aml_concatres(struct aml_value *a1, struct aml_value *a2) c = aml_allocvalue(AML_OBJTYPE_BUFFER, l1+l2+l3, NULL); memcpy(c->v_buffer, a1->v_buffer, l1); memcpy(c->v_buffer+l1, a2->v_buffer, l2); - memcpy(c->v_buffer+l1+l2, a3, l3); + memcpy(c->v_buffer+l1+l2, a3, l3); return c; } |