[Python-checkins] cpython: pytime.h: remove duplicated "#ifndef Py_LIMITED_API"

victor.stinner python-checkins at python.org
Tue Sep 2 23:01:57 CEST 2014


http://hg.python.org/cpython/rev/41853d9d60ff
changeset:   92304:41853d9d60ff
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Aug 31 15:48:55 2014 +0200
summary:
  pytime.h: remove duplicated "#ifndef Py_LIMITED_API"

files:
  Include/pytime.h |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Include/pytime.h b/Include/pytime.h
--- a/Include/pytime.h
+++ b/Include/pytime.h
@@ -13,8 +13,6 @@
 extern "C" {
 #endif
 
-#ifndef Py_LIMITED_API
-
 #ifdef HAVE_GETTIMEOFDAY
 typedef struct timeval _PyTime_timeval;
 #else
@@ -96,7 +94,6 @@
 /* Initialize time.
    Return 0 on success, raise an exception and return -1 on error. */
 PyAPI_FUNC(int) _PyTime_Init(void);
-#endif   /* Py_LIMITED_API */
 
 #ifdef __cplusplus
 }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list