This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 02/14] FreeBSD update of header guard


Use the FreeBSD define since some FreeBSD header files use exactly this
header guard.

newlib/ChangeLog
2013-04-17  Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libc/include/sys/cdefs.h (_SYS_CDEFS_H): Delete define.
	(_SYS_CDEFS_H_): New define.
---
 newlib/libc/include/sys/cdefs.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/newlib/libc/include/sys/cdefs.h b/newlib/libc/include/sys/cdefs.h
index 395f122..f054084 100644
--- a/newlib/libc/include/sys/cdefs.h
+++ b/newlib/libc/include/sys/cdefs.h
@@ -41,8 +41,8 @@
  * $FreeBSD: src/sys/sys/cdefs.h,v 1.54 2002/05/11 03:58:24 alfred Exp $
  */
 
-#ifndef _SYS_CDEFS_H
-#define _SYS_CDEFS_H
+#ifndef	_SYS_CDEFS_H_
+#define	_SYS_CDEFS_H_
 
 #include <sys/features.h>
 #include <stddef.h>
@@ -165,4 +165,4 @@
 #endif	/* __ELF__ */
 #endif	/* __GNUC__ */
 
-#endif /* _SYS_CDEFS_H */
+#endif /* !_SYS_CDEFS_H_ */
-- 
1.7.7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]