Ignore:
Timestamp:
2019-02-03T14:35:44Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4f1171
Parents:
67ca359
Message:

Rename context_t to context_t

<libarch/fibril_context.h> is included from <setjmp.h> where it can interfere
with identifiers used in third-party code.
The simplest solution here is just to prefix the names with double underscore
which is reserved for use by the implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/abs32le/src/fibril.c

    r67ca359 ra5c78a18  
    3333#include <stdbool.h>
    3434
    35 int __setjmp(context_t *ctx)
     35int __setjmp(__context_t *ctx)
    3636{
    3737        return 0;
    3838}
    3939
    40 void __longjmp(context_t *ctx, int val)
     40void __longjmp(__context_t *ctx, int val)
    4141{
    4242        while (true)
Note: See TracChangeset for help on using the changeset viewer.