Ignore:
Timestamp:
Sep 5, 2008, 5:47:15 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
bd66046
Parents:
f44b668
Message:

Convert to "bool".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/timer/timer.c

    rf44b668 r86432056  
    2525bool benchmark_timer_find_average_overhead;
    2626
    27 bool benchmark_timer_is_initialized = FALSE;
     27bool benchmark_timer_is_initialized = false;
    2828
    2929void benchmark_timer_initialize(void)
     
    3333   */
    3434
    35   if ( benchmark_timer_is_initialized == FALSE ) {
     35  if ( benchmark_timer_is_initialized == false ) {
    3636
    3737    /* approximately 1 us per countdown */
     
    4040
    4141  } else {
    42     benchmark_timer_is_initialized = TRUE;
     42    benchmark_timer_is_initialized = true;
    4343  }
    4444
     
    6262  total = 0xffffff - total;
    6363
    64   if ( benchmark_timer_find_average_overhead == 1 )
     64  if ( benchmark_timer_find_average_overhead == true )
    6565    return total;          /* in one microsecond units */
    6666
Note: See TracChangeset for help on using the changeset viewer.