Ignore:
File:
1 edited

Legend:

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

    rbc56f30 r10de842  
    3333 */
    3434
    35 #ifndef _LIBC_ERRNO_H_
    36 #define _LIBC_ERRNO_H_
     35#ifndef LIBC_ERRNO_H_
     36#define LIBC_ERRNO_H_
    3737
    3838#include <_bits/errno.h>
    3939#include <abi/errno.h>
    40 #include <_bits/decls.h>
    4140
    42 __HELENOS_DECLS_BEGIN;
     41#define errno  (*(__errno()))
    4342
    4443extern errno_t *__errno(void) __attribute__((const));
    45 
    46 __HELENOS_DECLS_END;
    47 
    48 #ifdef __cplusplus
    49 #define errno  (*(::helenos::__errno()))
    50 #else
    51 #define errno  (*(__errno()))
    52 #endif
    5344
    5445#endif
Note: See TracChangeset for help on using the changeset viewer.