Ignore:
File:
1 edited

Legend:

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

    rbc56f30 r4805495  
    3636#define _LIBC_TIME_H_
    3737
    38 #include <_bits/decls.h>
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
    3941
    4042/* ISO/IEC 9899:2011 7.27.1 (2) */
     
    4951
    5052#include <_bits/size_t.h>
    51 
    52 __C_DECLS_BEGIN;
    5353
    5454/* ISO/IEC 9899:2011 7.27.1 (3), (4) */
     
    106106    const struct tm *__restrict__);
    107107
    108 __C_DECLS_END;
    109 
    110108#ifdef _HELENOS_SOURCE
    111109
     
    116114#include <stdbool.h>
    117115#include <_bits/errno.h>
    118 
    119 __HELENOS_DECLS_BEGIN;
    120116
    121117typedef long long sec_t;
     
    159155extern void udelay(sysarg_t);
    160156
    161 __HELENOS_DECLS_END;
     157#endif /* _HELENOS_SOURCE */
    162158
    163 #endif /* _HELENOS_SOURCE */
     159#ifdef __cplusplus
     160}
     161#endif
    164162
    165163#endif
Note: See TracChangeset for help on using the changeset viewer.