Date: Tue, 15 Aug 2006 02:26:41 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103949 for review Message-ID: <200608150226.k7F2QfQp083676@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103949 Change 103949 by jb@jb_freebsd2 on 2006/08/15 02:26:27 Fix compiler warnings. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_error.c#4 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_error.c#4 (text) ==== @@ -148,7 +148,7 @@ } #else int -_dt_set_errno(dtrace_hdl_t *dtp, int err, char *errfile, int errline) +_dt_set_errno(dtrace_hdl_t *dtp, int err, const char *errfile, int errline) { dtp->dt_errno = err; dtp->dt_errfile = errfile; @@ -156,7 +156,7 @@ return (-1); } -void dt_get_errloc(dtrace_hdl_t *dtp, char **p_errfile, int *p_errline) +void dt_get_errloc(dtrace_hdl_t *dtp, const char **p_errfile, int *p_errline) { *p_errfile = dtp->dt_errfile; *p_errline = dtp->dt_errline;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150226.k7F2QfQp083676>