summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2013-11-29 23:00:48 +0000
committerjoerg <joerg@NetBSD.org>2013-11-29 23:00:48 +0000
commit1de358550bb3cf1237492f8e425953d24cf03d9c (patch)
tree92af33f060bcc6979dbf0c29c42e33181ee387e1 /lib
parent92354aad6ea1b1a288e470ef3d287ab7d54fb1ce (diff)
Include crtbegin.h first to make it possible to build with the stricter
attribute consistency checks in clang.
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/common/crtbegin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/common/crtbegin.c b/lib/csu/common/crtbegin.c
index 179001c80f8..3ed218ace1e 100644
--- a/lib/csu/common/crtbegin.c
+++ b/lib/csu/common/crtbegin.c
@@ -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 @@ __do_global_dtors_aux(void)
#endif
}
#endif /* !__ARM_EABI__ || SHARED */
-
-#include "crtbegin.h"