Include crtbegin.h first to make it possible to build with the stricter
attribute consistency checks in clang.
This commit is contained in:
parent
81e29e1a78
commit
cd32ef253c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user