Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/errno.h

    rbc56f30 r7c3fb9b  
    4141#define _BITS_ERRNO_H_
    4242
    43 #include <_bits/native.h>
    44 #include <_bits/decls.h>
     43#ifdef __OPAQUE_ERRNO__
     44#include <_bits/opaque_handle.h>
    4545
    46 #ifdef __OPAQUE_ERRNO__
    47 #include <_bits/__opaque_handle.h>
    48 
    49 __HELENOS_DECLS_BEGIN;
    50 __opaque_handle(errno_t);
     46opaque_handle(errno_t);
    5147typedef errno_t sys_errno_t;
    52 __HELENOS_DECLS_END;
    53 
    5448#define __errno_t(val) ((errno_t) val)
    5549
    5650#else
    5751
    58 __HELENOS_DECLS_BEGIN;
     52#include <_bits/native.h>
    5953
    6054/**
     
    7165typedef sysarg_t sys_errno_t;
    7266
    73 __HELENOS_DECLS_END;
    74 
    7567/**
    7668 * A C++-style "cast" to `errno_t`.
Note: See TracChangeset for help on using the changeset viewer.