summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
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 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) \
OpenPOWER on IntegriCloud