diff options
Diffstat (limited to 'sys/arch/sparc64/stand/ofwboot/net.c')
-rw-r--r-- | sys/arch/sparc64/stand/ofwboot/net.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/net.c b/sys/arch/sparc64/stand/ofwboot/net.c index ff4beed14db..e23f6954717 100644 --- a/sys/arch/sparc64/stand/ofwboot/net.c +++ b/sys/arch/sparc64/stand/ofwboot/net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net.c,v 1.3 2002/03/14 01:26:46 millert Exp $ */ +/* $OpenBSD: net.c,v 1.4 2009/08/17 14:23:09 jsing Exp $ */ /* $NetBSD: net.c,v 1.1 2000/08/20 14:58:38 mrg Exp $ */ /* @@ -76,8 +76,7 @@ static int open_count; * This opens the low-level device and sets f->f_devdata. */ int -net_open(op) - struct of_dev *op; +net_open(struct of_dev *op) { int error = 0; @@ -103,8 +102,7 @@ bad: } int -net_close(op) - struct of_dev *op; +net_close(struct of_dev *op) { /* * On last close, do netif close, etc. @@ -117,7 +115,7 @@ net_close(op) } int -net_mountroot_bootparams() +net_mountroot_bootparams(void) { /* Get our IP address. (rarp.c) */ if (rarp_getipaddress(netdev_sock) == -1) @@ -140,7 +138,7 @@ net_mountroot_bootparams() } int -net_mountroot_bootp() +net_mountroot_bootp(void) { bootp(netdev_sock); @@ -162,7 +160,7 @@ net_mountroot_bootp() } int -net_mountroot() +net_mountroot(void) { int error; |