From 69b216aefe4f3ae02909b6cf20583c43b4f643bc Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 27 May 1999 14:04:25 +0000 Subject: [PATCH] `xmit' & `recv' return `ssize_t' --- sys/arch/sparc/stand/common/promdev.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc/stand/common/promdev.h b/sys/arch/sparc/stand/common/promdev.h index 0b50beae2878..d1fc0512f647 100644 --- a/sys/arch/sparc/stand/common/promdev.h +++ b/sys/arch/sparc/stand/common/promdev.h @@ -1,4 +1,4 @@ -/* $NetBSD: promdev.h,v 1.6 1999/04/30 09:29:40 christos Exp $ */ +/* $NetBSD: promdev.h,v 1.7 1999/05/27 14:04:25 pk Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -46,8 +46,8 @@ struct promdata { #define DT_NET 2 #define DT_BYTE 3 /* Hooks for netif.c */ - int (*xmit) __P((struct promdata *, void *, size_t)); - int (*recv) __P((struct promdata *, void *, size_t)); + ssize_t (*xmit) __P((struct promdata *, void *, size_t)); + ssize_t (*recv) __P((struct promdata *, void *, size_t)); }; #define DDB_MAGIC0 ( ('D'<<24) | ('D'<<16) | ('B'<<8) | ('0') )