Changeset 6b96dc06 in mainline for uspace/lib/c/include/setjmp.h


Ignore:
Timestamp:
2018-06-27T16:32:16Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45c39ad
Parents:
1c9ae08
Message:

Replace _Noreturn with C++-friendly noreturn. Remove unnecessary _Atomic.

File:
1 edited

Legend:

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

    r1c9ae08 r6b96dc06  
    3535
    3636#include <libarch/fibril_context.h>
     37#include <_bits/__noreturn.h>
    3738
    3839typedef context_t jmp_buf[1];
    3940
    4041extern int __setjmp(jmp_buf) __attribute__((returns_twice));
    41 extern _Noreturn void __longjmp(jmp_buf, int);
     42extern __noreturn void __longjmp(jmp_buf, int);
    4243
    4344#define setjmp __setjmp
    44 extern _Noreturn void longjmp(jmp_buf, int);
     45extern __noreturn void longjmp(jmp_buf, int);
    4546
    4647#endif
Note: See TracChangeset for help on using the changeset viewer.