Changeset d2fa31f7 in mainline for uspace/lib/libc/include


Ignore:
Timestamp:
2008-03-15T08:48:18Z (17 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7397c73
Parents:
cbd6545f
Message:

United headers using context_t in uspace.

Location:
uspace/lib/libc/include
Files:
1 edited
1 moved

Legend:

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

    rcbd6545f rd2fa31f7  
    2727 */
    2828
    29 /** @addtogroup libcia32
     29/** @addtogroup libc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef LIBC_ia32_SETJMP_H_
    36 #define LIBC_ia32_SETJMP_H_
     35#ifndef LIBC_SETJMP_H_
     36#define LIBC_SETJMP_H_
    3737
    38 #include <libarch/types.h>
     38#include <libarch/fibril.h>
    3939
    40 typedef struct {
    41         uint32_t ebx;
    42         uint32_t esi;
    43         uint32_t edi;
    44         uint32_t ebp;
    45         uint32_t esp;
    46         uint32_t pc;
    47 } jmp_buf;
     40typedef context_t jmp_buf;
    4841
    49 int setjmp(jmp_buf env);
    50 void longjmp(jmp_buf env,int val) __attribute__((__noreturn__));
     42extern int setjmp(jmp_buf env);
     43extern void longjmp(jmp_buf env,int val) __attribute__((__noreturn__));
    5144
    5245#endif
  • uspace/lib/libc/include/unistd.h

    rcbd6545f rd2fa31f7  
    3939#include <libarch/config.h>
    4040
     41#ifndef NULL
    4142#define NULL 0
     43#endif
     44
    4245#define getpagesize()     (PAGE_SIZE)
    4346
Note: See TracChangeset for help on using the changeset viewer.