Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2016 17:35:24 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305941 - head/sys/boot/efi/include
Message-ID:  <201609181735.u8IHZOLd024293@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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