Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 19:55:36 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r312772 - in stable: 10/sys/boot/efi/include 11/sys/boot/efi/include
Message-ID:  <201701251955.v0PJtacZ081690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Jan 25 19:55:35 2017
New Revision: 312772
URL: https://svnweb.freebsd.org/changeset/base/312772

Log:
  MFC r311932:
  
  Make EFI_RESERVED_SERVICE a proper prototype
  
  With clang 4.0.0, the EFI API header causes the following warning:
  
  In file included from sys/boot/efi/loader/bootinfo.c:43:
  In file included from sys/boot/efi/loader/../include/efi.h:52:
  sys/boot/efi/include/efiapi.h:534:32: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
  (EFIAPI *EFI_RESERVED_SERVICE) (
                                 ^
  
  Add VOID to make it into a real prototype.
  
  Reviewed by:	imp, emaste, tsoome
  Differential Revision:	https://reviews.freebsd.org/D9132

Modified:
  stable/11/sys/boot/efi/include/efiapi.h
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/boot/efi/include/efiapi.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/sys/boot/efi/include/efiapi.h
==============================================================================
--- stable/11/sys/boot/efi/include/efiapi.h	Wed Jan 25 19:16:24 2017	(r312771)
+++ stable/11/sys/boot/efi/include/efiapi.h	Wed Jan 25 19:55:35 2017	(r312772)
@@ -532,6 +532,7 @@ EFI_STATUS
 typedef
 EFI_STATUS
 (EFIAPI *EFI_RESERVED_SERVICE) (
+    VOID
     );
 
 typedef



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701251955.v0PJtacZ081690>