r1186 - trunk/libbsd/include/bsd
Author: rmh
Date: 2006-02-13 20:45:13 +0000 (Mon, 13 Feb 2006)
New Revision: 1186
Modified:
trunk/libbsd/include/bsd/queue.h
Log:
Use the same macro (_SYS_QUEUE_H) as <sys/queue.h> for header protection. This prevents collisions.
Modified: trunk/libbsd/include/bsd/queue.h
===================================================================
--- trunk/libbsd/include/bsd/queue.h 2006-02-13 20:25:22 UTC (rev 1185)
+++ trunk/libbsd/include/bsd/queue.h 2006-02-13 20:45:13 UTC (rev 1186)
@@ -30,8 +30,8 @@
* $FreeBSD: src/sys/sys/queue.h,v 1.58 2004/04/07 04:19:49 imp Exp $
*/
-#ifndef _SYS_QUEUE_H_
-#define _SYS_QUEUE_H_
+#ifndef _SYS_QUEUE_H
+#define _SYS_QUEUE_H
#include <sys/cdefs.h>
@@ -550,4 +550,4 @@
#endif /* _KERNEL */
-#endif /* !_SYS_QUEUE_H_ */
+#endif /* !_SYS_QUEUE_H */
Reply to: