diff options
author | archie <archie@FreeBSD.org> | 2000-07-18 22:44:52 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-07-18 22:44:52 +0000 |
commit | 97e87e17de4705b92440b9f3bfa830d17ef49ff6 (patch) | |
tree | 51ee3aaed1ae578c000b49c66db3434902127787 /lib/libc/net/ethers.3 | |
parent | e58c321b82d2de60cbd3cae2af253ea6a58f7841 (diff) | |
download | FreeBSD-src-97e87e17de4705b92440b9f3bfa830d17ef49ff6.zip FreeBSD-src-97e87e17de4705b92440b9f3bfa830d17ef49ff6.tar.gz |
Const'ify parameters to ethers(3) routines as appropriate.
Diffstat (limited to 'lib/libc/net/ethers.3')
-rw-r--r-- | lib/libc/net/ethers.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 1c1fb26..46f0e4f 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -48,15 +48,15 @@ .Fd #include <sys/socket.h> .Fd #include <net/ethernet.h> .Ft int -.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname" +.Fn ether_line "const char *l" "struct ether_addr *e" "char *hostname" .Ft struct ether_addr * -.Fn ether_aton "char *a" +.Fn ether_aton "const char *a" .Ft char * -.Fn ether_ntoa "struct ether_addr *n" +.Fn ether_ntoa "const struct ether_addr *n" .Ft int -.Fn ether_ntohost "char *hostname" "struct ether_addr *e" +.Fn ether_ntohost "char *hostname" "const struct ether_addr *e" .Ft int -.Fn ether_hostton "char *hostname" "struct ether_addr *e" +.Fn ether_hostton "const char *hostname" "struct ether_addr *e" .Sh DESCRIPTION These functions operate on ethernet addresses using an .Ar ether_addr |