PERFORCE change 103952 for review
John Birrell
jb at FreeBSD.org
Tue Aug 15 02:33:54 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103952
Change 103952 by jb at 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)
More information about the p4-projects
mailing list