From cdb29d3268214f3e3e9cbdd5baeb4c3b88b4d0d4 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Wed, 19 Oct 1994 00:10:10 +0000 Subject: [PATCH] kdc_datalen is now a number, not a function pointer. --- sys/sys/devconf.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/sys/devconf.h b/sys/sys/devconf.h index 855daddc490b..d681878d95fd 100644 --- a/sys/sys/devconf.h +++ b/sys/sys/devconf.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sysctl.h,v 1.17 1994/10/10 00:58:34 phk Exp $ + * $Id: devconf.h,v 1.1 1994/10/16 03:52:59 wollman Exp $ */ /* @@ -67,10 +67,6 @@ typedef int (*kdc_externalize_t)(struct proc *, struct kern_devconf *, void *, */ typedef int (*kdc_internalize_t)(struct proc *, struct kern_devconf *, void *, size_t); -/* - * DATALEN: calculate the length of the externalized form - */ -typedef size_t (*kdc_datalen_t)(struct kern_devconf *); /* * GOAWAY: shut the device down, if possible, and prepare to exit. */ @@ -85,8 +81,8 @@ struct kern_devconf { struct machdep_devconf kdc_md; /* filled in by driver */ kdc_externalize_t kdc_externalize; /* filled in by driver */ kdc_internalize_t kdc_internalize; /* filled in by driver */ - kdc_datalen_t kdc_datalen; /* filled in by driver */ kdc_goaway_t kdc_goaway; /* filled in by driver */ + size_t kdc_datalen; /* filled in by driver */ }; int dev_attach(struct kern_devconf *);