diff options
author | Phil Blundell <philb@gnu.org> | 1999-09-27 11:00:42 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1999-09-27 11:00:42 +0000 |
commit | dbc1e63ecc0376fd50c0aaee41b2c7cc1e5b4cfb (patch) | |
tree | 030a325ed189895e5745de8c6d356629355cb4d5 /lib/econet.c | |
parent | Make it compile without HAVE_HWSLIP. (diff) | |
download | net-tools-dbc1e63ecc0376fd50c0aaee41b2c7cc1e5b4cfb.tar.gz net-tools-dbc1e63ecc0376fd50c0aaee41b2c7cc1e5b4cfb.tar.bz2 net-tools-dbc1e63ecc0376fd50c0aaee41b2c7cc1e5b4cfb.zip |
Remove `sprint' member from struct hwtype. As far as I can see
it served no useful purpose. Please check I didn't break your
favourite hardware type in the process.
Add derisory support for Ash protocols.
Diffstat (limited to 'lib/econet.c')
-rw-r--r-- | lib/econet.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/econet.c b/lib/econet.c index 11d074b..3fcb176 100644 --- a/lib/econet.c +++ b/lib/econet.c @@ -1,9 +1,9 @@ /* - * lib/econet.c This file contains an implementation of the Econet + * lib/econet.c This file contains an implementation of the Econet * support functions for the net-tools. * (NET-3 base distribution). * - * Version: $Id: econet.c,v 1.8 1999/04/20 13:31:50 philip Exp $ + * Version: $Id: econet.c,v 1.9 1999/09/27 11:00:47 philip Exp $ * * Author: Philip Blundell <philb@gnu.org> * @@ -33,7 +33,7 @@ /* Display an Econet address */ static char * - ec_print(unsigned char *ptr) +ec_print(unsigned char *ptr) { static char buff[64]; struct ec_addr *ec = (struct ec_addr *) ptr; @@ -44,7 +44,7 @@ static char * /* Display an Econet socket address */ static char * - ec_sprint(struct sockaddr *sap, int numeric) +ec_sprint(struct sockaddr *sap, int numeric) { struct sockaddr_ec *sec = (struct sockaddr_ec *) sap; @@ -54,7 +54,8 @@ static char * return ec_print((unsigned char *) &sec->addr); } -static int ec_input(int type, char *bufp, struct sockaddr *sap) +static int +ec_input(int type, char *bufp, struct sockaddr *sap) { struct sockaddr_ec *sec = (struct sockaddr_ec *) sap; int net, stn; |