Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2012 15:54:40 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234789 - head/sys/boot/common
Message-ID:  <201204291554.q3TFsemi020637@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Apr 29 15:54:40 2012
New Revision: 234789
URL: http://svn.freebsd.org/changeset/base/234789

Log:
  Add multiple inclusion protection.
  
  PR:		165025
  Submitted by:	Gavin Mu
  MFC after:	1 week

Modified:
  head/sys/boot/common/bootstrap.h

Modified: head/sys/boot/common/bootstrap.h
==============================================================================
--- head/sys/boot/common/bootstrap.h	Sun Apr 29 13:37:32 2012	(r234788)
+++ head/sys/boot/common/bootstrap.h	Sun Apr 29 15:54:40 2012	(r234789)
@@ -26,6 +26,9 @@
  * $FreeBSD$
  */
 
+#ifndef _BOOTSTRAP_H_
+#define	_BOOTSTRAP_H_
+
 #include <sys/types.h>
 #include <sys/queue.h>
 #include <sys/linker_set.h>
@@ -323,3 +326,5 @@ void	delay(int delay);
 void	dev_cleanup(void);
 
 time_t	time(time_t *tloc);
+
+#endif /* !_BOOTSTRAP_H_ */



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