From: Hermès Bélusca-Maïto Date: Tue, 16 May 2017 17:45:52 +0000 (+0000) Subject: Addendum to r74559: specify 'void' function aka. doesn't take any parameter. In C... X-Git-Tag: ReactOS-0.4.6~697 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=819142c99687d15f5d47475ddcde794393efeacb Addendum to r74559: specify 'void' function aka. doesn't take any parameter. In C, a function whose prototype is () means "take an arbitrary number of args". svn path=/trunk/; revision=74562 --- diff --git a/reactos/drivers/bus/acpi/busmgr/utils.c b/reactos/drivers/bus/acpi/busmgr/utils.c index 90f4f4c6297..dfe216461ab 100644 --- a/reactos/drivers/bus/acpi/busmgr/utils.c +++ b/reactos/drivers/bus/acpi/busmgr/utils.c @@ -519,7 +519,7 @@ acpi_create_registry_table(HANDLE ParentKeyHandle, ACPI_TABLE_HEADER *OutTable, } NTSTATUS -acpi_create_volatile_registry_tables() +acpi_create_volatile_registry_tables(void) { OBJECT_ATTRIBUTES ObjectAttributes; UNICODE_STRING HardwareKeyName = RTL_CONSTANT_STRING(L"\\Registry\\Machine\\HARDWARE\\ACPI");