Ignore:
File:
1 edited

Legend:

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

    r7bbf91e rbc56f30  
    3030#define LIBCPP_CTIME
    3131
    32 #include <__bits/common.hpp>
    33 
    34 namespace std::hel
    35 {
    36     extern "C" {
    37         #include <time.h>
    38     }
    39 }
     32#include <time.h>
    4033
    4134namespace std
    4235{
    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; */
     36    using ::clock_t;
     37    using ::size_t;
     38    using ::time_t;
     39    using ::tm;
     40    using ::timespec;
    4841
    49     /* using std::hel::clock; */
    50     using std::hel::time;
    51     using std::hel::difftime;
     42    using ::clock;
     43    using ::time;
     44    using ::difftime;
    5245
    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;
     46    using ::ctime;
     47    using ::asctime;
     48    using ::strftime;
     49    /* using ::wcsftime; */
     50    /* using ::gmtime; */
     51    /* using ::localtime; */
     52    using ::mktime;
    6053}
    6154
    62 /* using std::hel::clock_t; */
    63 using std::hel::size_t;
    64 using std::hel::time_t;
    65 using std::hel::tm;
    66 /* using std::hel::timespec; */
    67 
    68 /* using std::hel::clock; */
    69 using std::hel::time;
    70 using std::hel::difftime;
    71 
    72 /* using std::hel::ctime; */
    73 /* using std::hel::asctime; */
    74 using std::hel::strftime;
    75 /* using std::hel::wcsftime; */
    76 /* using std::hel::gmtime; */
    77 /* using std::hel::localtime; */
    78 using std::hel::mktime;
    79 
    8055#endif
Note: See TracChangeset for help on using the changeset viewer.