mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Eliminate rtems_boolean.
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user