aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2002-03-04 21:43:49 +0000
committerBrooks Davis <brooks@FreeBSD.org>2002-03-04 21:43:49 +0000
commitb75496fedf3d37a05dc1d5127586d87861ff5615 (patch)
treee05372a98911db8a86433810b97039584862ca8d /sys/net/if.h
parentde7997511b34049992fc3cea2ed83116f2582282 (diff)
downloadsrc-b75496fedf3d37a05dc1d5127586d87861ff5615.tar.gz
src-b75496fedf3d37a05dc1d5127586d87861ff5615.zip
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
Notes
Notes: svn path=/head/; revision=91647
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 7370e121002e..0b6b733c1054 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) \