Source-Changes-HG archive

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

[src/trunk]: src/include typedef struct link_map as Link_map (for solaris-com...



details:   https://anonhg.NetBSD.org/src/rev/76115255754c
branches:  trunk
changeset: 748761:76115255754c
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 04 19:28:03 2009 +0000

description:
typedef struct link_map as Link_map (for solaris-compat)

diffstat:

 include/link_elf.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1739ab6c1667 -r 76115255754c include/link_elf.h
--- a/include/link_elf.h        Wed Nov 04 19:21:51 2009 +0000
+++ b/include/link_elf.h        Wed Nov 04 19:28:03 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: link_elf.h,v 1.7 2006/01/11 22:50:35 uwe Exp $ */
+/*     $NetBSD: link_elf.h,v 1.8 2009/11/04 19:28:03 pooka Exp $       */
 
 /*
  * This only exists for GDB.
@@ -11,7 +11,7 @@
 
 #include <machine/elf_machdep.h>
 
-struct link_map {
+typedef struct link_map {
        caddr_t          l_addr;        /* Base Address of library */
 #ifdef __mips__
        caddr_t          l_offs;        /* Load Offset of library */
@@ -20,7 +20,7 @@
        void            *l_ld;          /* Pointer to .dynamic in memory */
        struct link_map *l_next;        /* linked list of of mapped libs */
        struct link_map *l_prev;
-};
+} Link_map;
 
 struct r_debug {
        int r_version;                  /* not used */



Home | Main Index | Thread Index | Old Index