diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 17:20:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 17:20:33 +0000 |
commit | ae5a79c349615f239308a38dc2023d0c58980b7a (patch) | |
tree | efe76b15a2e48fddec57f6a128bd0dc4913c2059 /cpukit/libnetworking/net/if.h | |
parent | 2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-ae5a79c349615f239308a38dc2023d0c58980b7a.tar.bz2 |
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
libnetworking/net/ethernet.h, libnetworking/net/if.h,
libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
warnings. Most of the warnings were 16/32 bit integer sizing issues.
Some constants had L appended, some had casts add, some types were
changed to reflect a bit width requirement.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/net/if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h index 8f7b6d95ba..45d9e0bd7f 100644 --- a/cpukit/libnetworking/net/if.h +++ b/cpukit/libnetworking/net/if.h @@ -47,6 +47,7 @@ #ifndef __BSD_VISIBLE #define __BSD_VISIBLE 1 #endif +#include <inttypes.h> #endif #ifdef _KERNEL @@ -210,7 +211,7 @@ struct ifreq { struct sockaddr ifru_dstaddr; struct sockaddr ifru_broadaddr; short ifru_flags[2]; - int ifru_metric; + int32_t ifru_metric; int ifru_mtu; int ifru_phys; int ifru_media; |