svn commit: r306315 - stable/11/sys/boot/efi/include

Konstantin Belousov kib at FreeBSD.org
Sun Sep 25 17:55:54 UTC 2016


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 */


More information about the svn-src-stable mailing list