Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/ctime

    rbc56f30 r7bbf91e  
    3030#define LIBCPP_CTIME
    3131
    32 #include <time.h>
     32#include <__bits/common.hpp>
     33
     34namespace std::hel
     35{
     36    extern "C" {
     37        #include <time.h>
     38    }
     39}
    3340
    3441namespace std
    3542{
    36     using ::clock_t;
    37     using ::size_t;
    38     using ::time_t;
    39     using ::tm;
    40     using ::timespec;
     43    /* using std::hel::clock_t; */
     44    using std::hel::size_t;
     45    using std::hel::time_t;
     46    using std::hel::tm;
     47    /* using std::hel::timespec; */
    4148
    42     using ::clock;
    43     using ::time;
    44     using ::difftime;
     49    /* using std::hel::clock; */
     50    using std::hel::time;
     51    using std::hel::difftime;
    4552
    46     using ::ctime;
    47     using ::asctime;
    48     using ::strftime;
    49     /* using ::wcsftime; */
    50     /* using ::gmtime; */
    51     /* using ::localtime; */
    52     using ::mktime;
     53    /* using std::hel::ctime; */
     54    /* using std::hel::asctime; */
     55    using std::hel::strftime;
     56    /* using std::hel::wcsftime; */
     57    /* using std::hel::gmtime; */
     58    /* using std::hel::localtime; */
     59    using std::hel::mktime;
    5360}
    5461
     62/* using std::hel::clock_t; */
     63using std::hel::size_t;
     64using std::hel::time_t;
     65using std::hel::tm;
     66/* using std::hel::timespec; */
     67
     68/* using std::hel::clock; */
     69using std::hel::time;
     70using std::hel::difftime;
     71
     72/* using std::hel::ctime; */
     73/* using std::hel::asctime; */
     74using std::hel::strftime;
     75/* using std::hel::wcsftime; */
     76/* using std::hel::gmtime; */
     77/* using std::hel::localtime; */
     78using std::hel::mktime;
     79
    5580#endif
Note: See TracChangeset for help on using the changeset viewer.