Ignore:
File:
1 edited

Legend:

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

    r09ab0a9a rbc56f30  
    3333 */
    3434
    35 #ifndef LIBC_TIME_H_
    36 #define LIBC_TIME_H_
     35#ifndef _LIBC_TIME_H_
     36#define _LIBC_TIME_H_
    3737
    38 #ifdef __cplusplus
    39 extern "C" {
    40 #endif
     38#include <_bits/decls.h>
    4139
    4240/* ISO/IEC 9899:2011 7.27.1 (2) */
     
    5250#include <_bits/size_t.h>
    5351
     52__C_DECLS_BEGIN;
     53
    5454/* ISO/IEC 9899:2011 7.27.1 (3), (4) */
    5555
     
    6464struct tm {
    6565        int tm_sec;
    66 #ifdef _HELENOS_SOURCE
    67         int tm_nsec;
    68 #endif
     66        int tm_nsec;  /**< Nonstandard extension, nanoseconds since last second. */
    6967        int tm_min;
    7068        int tm_hour;
     
    108106    const struct tm *__restrict__);
    109107
     108__C_DECLS_END;
     109
    110110#ifdef _HELENOS_SOURCE
    111111
     
    116116#include <stdbool.h>
    117117#include <_bits/errno.h>
     118
     119__HELENOS_DECLS_BEGIN;
    118120
    119121typedef long long sec_t;
     
    157159extern void udelay(sysarg_t);
    158160
     161__HELENOS_DECLS_END;
     162
    159163#endif /* _HELENOS_SOURCE */
    160 
    161 #ifdef __cplusplus
    162 }
    163 #endif
    164164
    165165#endif
Note: See TracChangeset for help on using the changeset viewer.