Date: Mon, 1 May 2006 08:58:55 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96473 for review Message-ID: <200605010858.k418wtVP007672@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96473 Change 96473 by jb@jb_freebsd2 on 2006/05/01 08:57:59 The function callbacks occur during a syscall and they have no way to report errors, so they might as well be void functions. If they can't do what they were intended to do, the best that they can do is just shut the %$&k up. Affected files ... .. //depot/projects/dtrace/src/sys/sys/sysent.h#3 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/sysent.h#3 (text+ko) ==== @@ -42,13 +42,13 @@ typedef int sy_call_t(struct thread *, void *); /* Used by the machine dependent syscall() code. */ -typedef int (*systrace_probe_func_t)(u_int32_t, int, struct sysent *, void *); +typedef void (*systrace_probe_func_t)(u_int32_t, int, struct sysent *, void *); /* * Used by loaded syscalls to convert arguments to a DTrace array * of 64-bit arguments. */ -typedef int (*systrace_args_func_t)(void *, u_int64_t *, int *); +typedef void (*systrace_args_func_t)(void *, u_int64_t *, int *); extern systrace_probe_func_t systrace_probe_func;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605010858.k418wtVP007672>