Date: Tue, 15 Aug 2006 02:23:36 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103946 for review Message-ID: <200608150223.k7F2Na6A083458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103946 Change 103946 by jb@jb_freebsd2 on 2006/08/15 02:22:45 Fix compiler warnings. [insert glass houses reference here. 8-) ] Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_impl.h#11 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_impl.h#11 (text) ==== @@ -271,7 +271,7 @@ int dt_ctferr; /* error resulting from last CTF failure */ int dt_errno; /* error resulting from last failed operation */ #if !defined(sun) - char *dt_errfile; + const char *dt_errfile; int dt_errline; #endif int dt_fd; /* file descriptor for dtrace pseudo-device */ @@ -553,8 +553,8 @@ #if defined(sun) extern int dt_set_errno(dtrace_hdl_t *, int); #else -int _dt_set_errno(dtrace_hdl_t *, int, char *, int); -void dt_get_errloc(dtrace_hdl_t *, char **, int *); +int _dt_set_errno(dtrace_hdl_t *, int, const char *, int); +void dt_get_errloc(dtrace_hdl_t *, const char **, int *); #define dt_set_errno(_a,_b) _dt_set_errno(_a,_b,__FILE__,__LINE__) #endif extern void dt_set_errmsg(dtrace_hdl_t *, const char *, const char *,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150223.k7F2Na6A083458>