svn commit: r305941 - head/sys/boot/efi/include

Konstantin Belousov kib at FreeBSD.org
Sun Sep 18 17:35:25 UTC 2016


Author: kib
Date: Sun Sep 18 17:35:24 2016
New Revision: 305941
URL: https://svnweb.freebsd.org/changeset/base/305941

Log:
  Add double-inclusion protection.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/boot/efi/include/efilib.h

Modified: head/sys/boot/efi/include/efilib.h
==============================================================================
--- head/sys/boot/efi/include/efilib.h	Sun Sep 18 17:35:17 2016	(r305940)
+++ head/sys/boot/efi/include/efilib.h	Sun Sep 18 17:35:24 2016	(r305941)
@@ -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


More information about the svn-src-all mailing list