diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-07-19 01:40:14 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-07-19 01:40:14 +0000 |
| commit | b1e3a2ca5512b01fe88dae37355f6966155becaf (patch) | |
| tree | 61344d65c5f01671aa05605aa3c20db950649d07 /lib/libc/net/ether_addr.c | |
| parent | 9fafa5b55b6554fd5616862e3aefe209cac909c6 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/ether_addr.c')
| -rw-r--r-- | lib/libc/net/ether_addr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c index 89aa7b5d6924..e3b7438aa38c 100644 --- a/lib/libc/net/ether_addr.c +++ b/lib/libc/net/ether_addr.c @@ -62,7 +62,7 @@ * and separate it into its component parts. */ int ether_line(l, e, hostname) - char *l; + const char *l; struct ether_addr *e; char *hostname; { @@ -84,7 +84,7 @@ int ether_line(l, e, hostname) * binary form. */ struct ether_addr *ether_aton(a) - char *a; + const char *a; { int i; static struct ether_addr o; @@ -110,7 +110,7 @@ struct ether_addr *ether_aton(a) * an ASCII string. */ char *ether_ntoa(n) - struct ether_addr *n; + const struct ether_addr *n; { int i; static char a[18]; @@ -129,7 +129,7 @@ char *ether_ntoa(n) int ether_ntohost(hostname, e) char *hostname; - struct ether_addr *e; + const struct ether_addr *e; { FILE *fp; char buf[BUFSIZ + 2]; @@ -180,7 +180,7 @@ int ether_ntohost(hostname, e) * NIS/YP. */ int ether_hostton(hostname, e) - char *hostname; + const char *hostname; struct ether_addr *e; { FILE *fp; |
