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 /sys/net | |
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 'sys/net')
-rw-r--r-- | sys/net/ethernet.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h index 6d1c82e..15cab6c 100644 --- a/sys/net/ethernet.h +++ b/sys/net/ethernet.h @@ -107,11 +107,11 @@ extern void (*ng_ether_detach_p)(struct ifnet *ifp); * Ethernet address conversion/parsing routines. */ __BEGIN_DECLS -struct ether_addr *ether_aton __P((char *)); -int ether_hostton __P((char *, struct ether_addr *)); -int ether_line __P((char *, struct ether_addr *, char *)); -char *ether_ntoa __P((struct ether_addr *)); -int ether_ntohost __P((char *, struct ether_addr *)); +struct ether_addr *ether_aton __P((const char *)); +int ether_hostton __P((const char *, struct ether_addr *)); +int ether_line __P((const char *, struct ether_addr *, char *)); +char *ether_ntoa __P((const struct ether_addr *)); +int ether_ntohost __P((char *, const struct ether_addr *)); __END_DECLS #endif /* !_KERNEL */ |