From c4ef8434a441eac3926330a9f438b6624002dd8b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 7 May 2005 13:07:57 +0000 Subject: 2005-05-07 Ralf Corsepius * libnetworking/rtems/rtems_bsdnet.h: Eliminate rtems_* fixed size types. --- cpukit/ChangeLog | 5 +++++ cpukit/libnetworking/rtems/rtems_bsdnet.h | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c241fd2c4e..9322ccdd3e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2005-05-07 Ralf Corsepius + + * libnetworking/rtems/rtems_bsdnet.h: Eliminate rtems_* fixed size + types. + 2005-05-06 Joel Sherrill * libnetworking/rtems/rtems_showifstat.c: Remove warning. diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h index 1a483cb060..c6471cd279 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h @@ -189,18 +189,18 @@ extern int rtems_bsdnet_ntp_bcast_timeout_secs; struct timestamp { - rtems_unsigned32 integer; - rtems_unsigned32 fraction; + uint32_t integer; + uint32_t fraction; }; /* Data is passed in network byte order */ struct ntpPacketSmall { - rtems_unsigned8 li_vn_mode; - rtems_unsigned8 stratum; - rtems_signed8 poll_interval; - rtems_signed8 precision; - rtems_signed32 root_delay; - rtems_signed32 root_dispersion; + uint8_t li_vn_mode; + uint8_t stratum; + int8_t poll_interval; + int8_t precision; + int32_t root_delay; + int32_t root_dispersion; char reference_identifier[4]; struct timestamp reference_timestamp; struct timestamp originate_timestamp; -- cgit v1.2.3