* pfinet/ethernet.c(ethernet_close): Add 'return 0;' at the end of function. --- pfinet/ethernet.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index 1b3b5d0..5c69b54 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -263,6 +263,8 @@ ethernet_close (struct device *dev) device_close (edev->ether_port); mach_port_deallocate (mach_task_self (), edev->ether_port); edev->ether_port = MACH_PORT_NULL; + + return 0; } /* Transmit an ethernet frame */ -- 2.20.1