[riot-commits] [RIOT-OS/RIOT] 4e7316: added NORETURNs to functions that should not retur...

Oleg Hahm oleg at hobbykeller.org
Fri May 16 00:33:20 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 4e73169b382ac04ca1bb5503b2df4a00c5257190
      https://github.com/RIOT-OS/RIOT/commit/4e73169b382ac04ca1bb5503b2df4a00c5257190
  Author: Martin <Martin.Landsmann at HAW-Hamburg.de>
  Date:   2014-05-08 (Thu, 08 May 2014)

  Changed paths:
    M core/include/kernel_internal.h
    M core/include/sched.h
    M core/sched.c
    M cpu/lpc1768/atom.c
    M cpu/msp430-common/cpu.c

  Log Message:
  -----------
  added NORETURNs to functions that should not return
and added `UNREACHABLE();` to hint the compiler unreachable lines

added right signature for first parameter of `thread_stack_init()`
added `UNREACHABLE();` macro to `cpu/lpc1768/atom.c` and `cpu/msp430-common/cpu.c`


  Commit: 5d7f7dd686ab16c4d42ef40d6afc8b7dc6f747a1
      https://github.com/RIOT-OS/RIOT/commit/5d7f7dd686ab16c4d42ef40d6afc8b7dc6f747a1
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M core/include/kernel_internal.h
    M core/include/sched.h
    M core/sched.c
    M cpu/lpc1768/atom.c
    M cpu/msp430-common/cpu.c

  Log Message:
  -----------
  Merge pull request #1079 from BytesGalore/add_NORETURNs

core: and cpu: Added NORETURN to functions that should not return


Compare: https://github.com/RIOT-OS/RIOT/compare/6587fe2b7643...5d7f7dd686ab


More information about the commits mailing list