Source-Changes-HG archive

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

[src/matt-nb6-plus]: src/lib/csu/arm_elf Don't include <machine/asm.h> in C f...



details:   https://anonhg.NetBSD.org/src/rev/1d5fc2d8c549
branches:  matt-nb6-plus
changeset: 774519:1d5fc2d8c549
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Nov 30 23:38:57 2012 +0000

description:
Don't include <machine/asm.h> in C files.

diffstat:

 lib/csu/arm_elf/crt0.c     |  5 ++---
 lib/csu/arm_elf/dot_init.h |  3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r f452a3a6a39a -r 1d5fc2d8c549 lib/csu/arm_elf/crt0.c
--- a/lib/csu/arm_elf/crt0.c    Fri Nov 30 23:34:22 2012 +0000
+++ b/lib/csu/arm_elf/crt0.c    Fri Nov 30 23:38:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $     */
+/*     $NetBSD: crt0.c,v 1.10.4.1 2012/11/30 23:38:57 matt Exp $       */
 
 /*
  * Copyright (C) 1997 Mark Brinicombe
@@ -35,7 +35,6 @@
 #include <sys/cdefs.h>
 #include <sys/param.h>
 
-#include <machine/asm.h>
 #include <stdlib.h>
 
 #include "common.h"
@@ -68,7 +67,7 @@
 "      b       " ___STRING(_C_LABEL(___start)) " ");
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.10 2012/01/25 13:29:58 he Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.10.4.1 2012/11/30 23:38:57 matt Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 void
diff -r f452a3a6a39a -r 1d5fc2d8c549 lib/csu/arm_elf/dot_init.h
--- a/lib/csu/arm_elf/dot_init.h        Fri Nov 30 23:34:22 2012 +0000
+++ b/lib/csu/arm_elf/dot_init.h        Fri Nov 30 23:38:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dot_init.h,v 1.6 2008/05/10 15:31:03 martin Exp $ */
+/* $NetBSD: dot_init.h,v 1.6.22.1 2012/11/30 23:38:57 matt Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
@@ -34,7 +34,6 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-#include <machine/asm.h>
 
 #define        MD_SECTION_PROLOGUE(sect, entry_pt)             \
                __asm (                                 \



Home | Main Index | Thread Index | Old Index