Ignore:
File:
1 edited

Legend:

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

    rbc56f30 rb251af5a  
    3030#define LIBCPP_CTIME
    3131
    32 #include <time.h>
     32
     33namespace std::hel
     34{
     35    extern "C" {
     36        #include <time.h>
     37    }
     38}
    3339
    3440namespace std
    3541{
    36     using ::clock_t;
    37     using ::size_t;
    38     using ::time_t;
    39     using ::tm;
    40     using ::timespec;
     42    /* using std::hel::clock_t; */
     43    using std::hel::size_t;
     44    using std::hel::time_t;
     45    using std::hel::tm;
     46    /* using std::hel::timespec; */
    4147
    42     using ::clock;
    43     using ::time;
    44     using ::difftime;
     48    /* using std::hel::clock; */
     49    using std::hel::time;
     50    using std::hel::difftime;
    4551
    46     using ::ctime;
    47     using ::asctime;
    48     using ::strftime;
    49     /* using ::wcsftime; */
    50     /* using ::gmtime; */
    51     /* using ::localtime; */
    52     using ::mktime;
     52    /* using std::hel::ctime; */
     53    /* using std::hel::asctime; */
     54    using std::hel::strftime;
     55    /* using std::hel::wcsftime; */
     56    /* using std::hel::gmtime; */
     57    /* using std::hel::localtime; */
     58    using std::hel::mktime;
    5359}
    5460
     61/* using std::hel::clock_t; */
     62using std::hel::size_t;
     63using std::hel::time_t;
     64using std::hel::tm;
     65/* using std::hel::timespec; */
     66
     67/* using std::hel::clock; */
     68using std::hel::time;
     69using std::hel::difftime;
     70
     71/* using std::hel::ctime; */
     72/* using std::hel::asctime; */
     73using std::hel::strftime;
     74/* using std::hel::wcsftime; */
     75/* using std::hel::gmtime; */
     76/* using std::hel::localtime; */
     77using std::hel::mktime;
     78
    5579#endif
Note: See TracChangeset for help on using the changeset viewer.