Changeset 31a30fa in mainline


Ignore:
Timestamp:
2017-05-04T22:19:12Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db8626d
Parents:
e141281
Message:

declare routines as noreturn

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/entry_point.h

    re141281 r31a30fa  
    3737
    3838/* Defined in arch/ARCH/src/entryjmp.[c|s] */
    39 void entry_point_jmp(void *, void *);
     39void entry_point_jmp(void *, void *) __attribute__((noreturn));
    4040
    4141#endif
  • uspace/srv/loader/main.c

    re141281 r31a30fa  
    309309 * @return 0 on success, !0 on error.
    310310 */
    311 static void ldr_run(ipc_callid_t rid, ipc_call_t *request)
     311static __attribute__((noreturn)) void ldr_run(ipc_callid_t rid,
     312    ipc_call_t *request)
    312313{
    313314        DPRINTF("Set task name\n");
Note: See TracChangeset for help on using the changeset viewer.