svn commit: r234789 - head/sys/boot/common

Marius Strobl marius at FreeBSD.org
Sun Apr 29 15:54:41 UTC 2012


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


More information about the svn-src-all mailing list