Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified uspace/lib/c/include/stdlib.h

    rbc56f30 r09ab0a9a  
    3333 */
    3434
    35 #ifndef _LIBC_STDLIB_H_
    36 #define _LIBC_STDLIB_H_
     35#ifndef LIBC_STDLIB_H_
     36#define LIBC_STDLIB_H_
     37
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
    3741
    3842#include <_bits/size_t.h>
    3943#include <_bits/wchar_t.h>
    40 #include <_bits/decls.h>
    4144#include <bsearch.h>
    4245#include <malloc.h>
    4346#include <qsort.h>
    44 
    45 #define EXIT_SUCCESS 0
    46 #define EXIT_FAILURE 1
    47 
    48 #define RAND_MAX  714025
    49 
    50 #define MB_CUR_MAX 4
    51 
    52 __C_DECLS_BEGIN;
    5347
    5448/** Type returned by the div function */
     
    7569        long long rem;
    7670} lldiv_t;
     71
     72#define EXIT_FAILURE 1
     73#define EXIT_SUCCESS 0
     74
     75#define RAND_MAX  714025
     76
     77#define MB_CUR_MAX 4
    7778
    7879extern long double strtold(const char *, char **);
     
    108109extern lldiv_t lldiv(long long, long long);
    109110
    110 __C_DECLS_END;
     111#ifdef __cplusplus
     112}
     113#endif
    111114
    112115#endif
Note: See TracChangeset for help on using the changeset viewer.