summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/ethernet.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-31 01:10:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-31 01:10:02 +0000
commita009d94459a8c8e126dadc8ee335b5833556dac7 (patch)
treef582cdcd1a13e5a920f2adfd668d153228ebf2cf /cpukit/libnetworking/net/ethernet.h
parent2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-a009d94459a8c8e126dadc8ee335b5833556dac7.tar.bz2
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* ftpd/ftpd.c, libcsupport/include/sys/ioccom.h, libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c, libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h, libnetworking/net/if.c, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c, libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bsdnet_internal.h, libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings due to improper use of int which shows up on 16 bit targets. Added ioctl_command_t since IOCTL command argument does not reliably fit into 16 bits.
Diffstat (limited to 'cpukit/libnetworking/net/ethernet.h')
-rw-r--r--cpukit/libnetworking/net/ethernet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/net/ethernet.h b/cpukit/libnetworking/net/ethernet.h
index 85f288a231..380ee1bad0 100644
--- a/cpukit/libnetworking/net/ethernet.h
+++ b/cpukit/libnetworking/net/ethernet.h
@@ -360,7 +360,7 @@ extern uint32_t ether_crc32_be(const uint8_t *, size_t);
extern void ether_demux(struct ifnet *, struct mbuf *);
extern void ether_ifattach(struct ifnet *);
extern void ether_ifdetach(struct ifnet *);
-extern int ether_ioctl(struct ifnet *, int32_t, caddr_t);
+extern int ether_ioctl(struct ifnet *, ioctl_command_t, caddr_t);
extern void ether_input (struct ifnet *, struct ether_header *, struct mbuf *);
extern int ether_output(struct ifnet *,
struct mbuf *, struct sockaddr *, struct rtentry *);