Changeset 5453f8a in rtems


Ignore:
Timestamp:
Sep 5, 2008, 6:16:34 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
4fef24e
Parents:
bd66046
Message:

Convert to "bool".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/i386ex/timer/timer.c

    rbd66046 r5453f8a  
    2929
    3030int Ttimer_val;
    31 rtems_boolean benchmark_timer_find_average_overhead;
     31bool benchmark_timer_find_average_overhead;
    3232
    3333extern void timerisr(void);
     
    8585{
    8686
    87   static rtems_boolean First = TRUE;
     87  static bool First = true;
    8888
    8989  if (First)
    9090  {
    91     First = FALSE;
     91    First = false;
    9292
    9393    atexit(Timer_exit); /* Try not to hose the system at exit. */
     
    125125  /* ??? Is "do not restore old vector" causing problems? */
    126126
    127   if ( benchmark_timer_find_average_overhead == 1 )
     127  if ( benchmark_timer_find_average_overhead == true )
    128128    return total;          /* in one microsecond units */
    129129
     
    136136
    137137void benchmark_timer_disable_subtracting_average_overhead(
    138   rtems_boolean find_flag
     138  bool find_flag
    139139)
    140140{
Note: See TracChangeset for help on using the changeset viewer.