Eliminate rtems_boolean.

This commit is contained in:
Ralf Corsepius
2008-09-02 13:04:59 +00:00
parent f58412d015
commit 57bc54dc4e
2 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ ytos(uint16_t y)
| Returns: number of seconds since January.
+--------------------------------------------------------------------------*/
static inline uint32_t
mtos(uint8_t m, rtems_boolean leap)
mtos(uint8_t m, bool leap)
{
static uint16_t daysMonth[] = { 0, 0, 31, 59, 90, 120, 151, 181,
212, 243, 273, 304, 334, 365 };

View File

@@ -140,7 +140,7 @@ struct ne_softc {
rtems_id rx_daemon_tid;
/* Whether we use byte-transfers with the device. */
rtems_boolean byte_transfers;
bool byte_transfers;
/* The number of memory buffers which the transmit daemon has loaded
with data to be sent, but which have not yet been completely
@@ -957,9 +957,9 @@ rtems_ne_driver_attach (struct rtems_bsdnet_ifconfig *config)
/* Check whether we do byte-wide or word-wide transfers. */
#ifdef NE2000_BYTE_TRANSFERS
sc->byte_transfers = TRUE;
sc->byte_transfers = true;
#else
sc->byte_transfers = FALSE;
sc->byte_transfers = false;
#endif
/* Handle the options passed in by the caller. */