> On Jan 8, 2017, at 18:24, Jan Beich <jbe...@freebsd.org> wrote: > > "Conrad E. Meyer" <c...@freebsd.org> writes: > >> +++ head/sys/contrib/dev/acpica/components/tables/tbxface.c Sun Jan 8 >> 06:26:33 2017 (r311667) >> @@ -314,11 +314,12 @@ ACPI_EXPORT_SYMBOL (AcpiGetTableHeader) >> >> /******************************************************************************* >> * >> - * FUNCTION: AcpiGetTable >> + * FUNCTION: AcpiGetTableWithSize >> * >> * PARAMETERS: Signature - ACPI signature of needed table >> * Instance - Which instance (for SSDTs) >> * OutTable - Where the pointer to the table is >> returned >> + * TblSize - Size of the table >> * >> * RETURN: Status and pointer to the requested table >> * >> @@ -333,10 +334,11 @@ ACPI_EXPORT_SYMBOL (AcpiGetTableHeader) >> >> ******************************************************************************/ >> >> ACPI_STATUS >> -AcpiGetTable ( >> +AcpiGetTableWithSize ( > > Can you adjust ACPI_EXPORT_SYMBOL() as well? It doesn't make sense to > export AcpiGetTable() twice but compiler won't complain if you do.
Depends on the compiler and the version. IIRC clang won’t, but gcc will (depending on the version). Cheers, -Ngie
signature.asc
Description: Message signed with OpenPGP using GPGMail