summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-07 13:07:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-07 13:07:57 +0000
commitc4ef8434a441eac3926330a9f438b6624002dd8b (patch)
tree37cb1e0578da4e33f10e9015d98776720882600c
parentFix broken changelog entry (diff)
downloadrtems-c4ef8434a441eac3926330a9f438b6624002dd8b.tar.bz2
2005-05-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_bsdnet.h: Eliminate rtems_* fixed size types.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h16
2 files changed, 13 insertions, 8 deletions
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 <ralf.corsepius@rtems.org>
+
+ * libnetworking/rtems/rtems_bsdnet.h: Eliminate rtems_* fixed size
+ types.
+
2005-05-06 Joel Sherrill <joel@OARcorp.com>
* 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;