Ignore:
Timestamp:
Aug 21, 2018, 6:01:01 PM (6 years ago)
Author:
alain
Message:

Fix several GCC warning related to the -Wextra compilation option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/spinlock.c

    r461 r473  
    4747///////////////////////////////////////////
    4848void spinlock_lock_busy( spinlock_t * lock,
    49                          uint32_t   * irq_state )
     49                         reg_t      * irq_state )
    5050{
    5151    reg_t               mode;
     
    8282//////////////////////////////////////////////
    8383void spinlock_unlock_busy( spinlock_t * lock,
    84                            uint32_t     irq_state )
     84                           reg_t        irq_state )
    8585{
    8686    thread_t * this = CURRENT_THREAD;
Note: See TracChangeset for help on using the changeset viewer.