Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common Include crtbegin.h first to make it possible ...



details:   https://anonhg.NetBSD.org/src/rev/b9d5c16dd362
branches:  trunk
changeset: 325003:b9d5c16dd362
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Nov 29 23:00:48 2013 +0000

description:
Include crtbegin.h first to make it possible to build with the stricter
attribute consistency checks in clang.

diffstat:

 lib/csu/common/crtbegin.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 794f70ecad54 -r b9d5c16dd362 lib/csu/common/crtbegin.c
--- a/lib/csu/common/crtbegin.c Fri Nov 29 22:56:19 2013 +0000
+++ b/lib/csu/common/crtbegin.c Fri Nov 29 23:00:48 2013 +0000
@@ -27,7 +27,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: crtbegin.c,v 1.5 2013/08/26 14:20:53 matt Exp $");
+__RCSID("$NetBSD: crtbegin.c,v 1.6 2013/11/29 23:00:48 joerg Exp $");
+
+#include "crtbegin.h"
 
 typedef void (*fptr_t)(void);
 
@@ -131,5 +133,3 @@
 #endif
 }
 #endif /* !__ARM_EABI__ || SHARED */
-
-#include "crtbegin.h"



Home | Main Index | Thread Index | Old Index