Changeset 82474ef in mainline for kernel/generic/include/func.h


Ignore:
Timestamp:
2010-02-03T12:45:26Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
210e50a
Parents:
c1d3549
Message:

improve the GCC contract of halt(), make it explicitly noreturn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/func.h

    rc1d3549 r82474ef  
    4141extern atomic_t haltstate;
    4242
    43 extern void halt(void);
     43extern void halt(void) __attribute__((noreturn));
    4444extern unative_t atoi(const char *text);
    4545extern void order(const uint64_t val, uint64_t *rv, char *suffix);
Note: See TracChangeset for help on using the changeset viewer.