Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2016 17:55:53 +0000 (UTC)
From:      Konstantin Belousov <kib@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: r306315 - stable/11/sys/boot/efi/include
Message-ID:  <201609251755.u8PHtrmd034988@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Sep 25 17:55:53 2016
New Revision: 306315
URL: https://svnweb.freebsd.org/changeset/base/306315

Log:
  MFC r305941:
  Add double-inclusion protection.
  
  MFC r305947:
  Add comment for the closing guard.

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

Modified: stable/11/sys/boot/efi/include/efilib.h
==============================================================================
--- stable/11/sys/boot/efi/include/efilib.h	Sun Sep 25 17:24:10 2016	(r306314)
+++ stable/11/sys/boot/efi/include/efilib.h	Sun Sep 25 17:55:53 2016	(r306315)
@@ -27,6 +27,9 @@
  * $FreeBSD$
  */
 
+#ifndef _LOADER_EFILIB_H
+#define	_LOADER_EFILIB_H
+
 #include <stand.h>
 
 extern EFI_HANDLE		IH;
@@ -61,3 +64,5 @@ void efi_time_fini(void);
 EFI_STATUS main(int argc, CHAR16 *argv[]);
 void exit(EFI_STATUS status);
 void delay(int usecs);
+
+#endif	/* _LOADER_EFILIB_H */



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