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/include/libarch/fibril_context.h

    r67ca359 ra5c78a18  
    3636 * need to be preserved across function calls.
    3737 */
    38 typedef struct context {
     38typedef struct __context {
    3939        uintptr_t sp;
    4040        uintptr_t fp;
    4141        uintptr_t pc;
    4242        uintptr_t tls;
    43 } context_t;
     43} __context_t;
    4444
    4545#endif
Note: See TracChangeset for help on using the changeset viewer.