From: Brett Gordon Date: Thu, 22 Sep 2016 14:06:12 +0000 (-0400) Subject: netdev.h: make declaration match implementations (net_wiz, net_native, etc..) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a8543fa80fb6e834dd65ece221c2973e8b172590;p=FUZIX.git netdev.h: make declaration match implementations (net_wiz, net_native, etc..) --- diff --git a/Kernel/include/netdev.h b/Kernel/include/netdev.h index 07833db8..eb05d4aa 100644 --- a/Kernel/include/netdev.h +++ b/Kernel/include/netdev.h @@ -121,7 +121,7 @@ extern int net_listen(struct socket *s); extern arg_t net_read(struct socket *s, uint8_t flag); extern arg_t net_write(struct socket *s, uint8_t flag); extern arg_t net_ioctl(uint8_t op, void *p); -extern int net_shutdown(struct socket *s, uint8_t how); /* bit 0 rd, bit 1 wr */ +extern arg_t net_shutdown(struct socket *s, uint8_t how); /* bit 0 rd, bit 1 wr */ extern void netdev_init(void); extern struct socket *sock_find(uint8_t type, uint8_t sv, struct sockaddrs *sa); extern void sock_init(void);