From 50d3be4c82e6c70eac43734b67628e7a27fa3e24 Mon Sep 17 00:00:00 2001 From: brooks Date: Mon, 4 Mar 2002 21:43:49 +0000 Subject: Change the network interface cloning API so the destroy function returns an int errorcode instead of void in preperation for merging cloning of the loopback device. Submitted by: mux MFC after: 2 weeks --- sys/net/if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if.h') diff --git a/sys/net/if.h b/sys/net/if.h index 7370e12..0b6b733 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -65,7 +65,7 @@ struct if_clone { size_t ifc_namelen; /* length of name */ int (*ifc_create)(struct if_clone *, int *); - void (*ifc_destroy)(struct ifnet *); + int (*ifc_destroy)(struct ifnet *); }; #define IF_CLONE_INITIALIZER(name, create, destroy) \ -- cgit v1.1