Date: Tue, 15 Aug 2006 02:33:53 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103952 for review Message-ID: <200608150233.k7F2Xr8s084200@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103952 Change 103952 by jb@jb_freebsd2 on 2006/08/15 02:33:08 Just use FreeBSD's ELF header files from now on. Fix a compiler warning. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#7 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#7 (text) ==== @@ -40,20 +40,11 @@ #ifndef _CTF_API_H #define _CTF_API_H -#if defined(sun) #pragma ident "@(#)ctf_api.h 1.4 05/06/08 SMI" -#endif #include <sys/types.h> #include <sys/param.h> -#if defined(sun) #include <sys/elf.h> -#else -#include <machine/elf.h> -#include <sys/elf32.h> -#include <sys/elf64.h> -#include <opensolaris/compat/sys/elf.h> -#endif #include <sys/ctf.h> #ifdef __cplusplus @@ -74,7 +65,7 @@ * filling in ctf_sect_t structures and passing them to ctf_bufopen(): */ typedef struct ctf_sect { - const char *cts_name; /* section name (if any) */ + char *cts_name; /* section name (if any) */ ulong_t cts_type; /* section type (ELF SHT_... value) */ ulong_t cts_flags; /* section flags (ELF SHF_... value) */ #if defined(sun)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150233.k7F2Xr8s084200>