summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Blake <cblake@csail.mit.edu>2014-09-26 12:52:33 -0400
committerCharles Blake <cblake@csail.mit.edu>2014-09-26 12:52:33 -0400
commitbe184676135113dda80cfc18bb675294fc2e5119 (patch)
tree281384429c16bd6685c449242ac8fc3b3b1492c9
parent0d0f6c3892045ee747e9bbdeffa309eccb6cbef5 (diff)
downloadcython-be184676135113dda80cfc18bb675294fc2e5119.tar.gz
Change URI to wikipedia; Remove cimport of unused types; Highlight strptime's non-C-standardness.
--HG-- extra : transplant_source : %FF%E2%99%18%B8%15t%FC4%A3%7D%403%FC%2C%EBm%8F%80%0F
-rw-r--r--Cython/Includes/libc/time.pxd8
1 files changed, 5 insertions, 3 deletions
diff --git a/Cython/Includes/libc/time.pxd b/Cython/Includes/libc/time.pxd
index f2b4271de..ffa8d2430 100644
--- a/Cython/Includes/libc/time.pxd
+++ b/Cython/Includes/libc/time.pxd
@@ -1,6 +1,6 @@
-# http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html
+# http://en.wikipedia.org/wiki/C_date_and_time_functions
-from posix.types cimport clock_t, clockid_t, suseconds_t, time_t, timer_t
+from posix.types cimport clock_t, time_t
from libc.stddef cimport wchar_t
cdef extern from "time.h" nogil:
@@ -39,4 +39,6 @@ cdef extern from "time.h" nogil:
time_t mktime(tm *)
size_t strftime(char *, size_t, const char *, const tm *)
size_t wcsftime(wchar_t *str, size_t cnt, const wchar_t *fmt, tm *time)
- char *strptime(const char *, const char *, tm *) # POSIX not stdC
+
+ # POSIX not stdC
+ char *strptime(const char *, const char *, tm *)