diff options
author | Guido van Rossum <guido@python.org> | 1996-08-19 22:12:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-19 22:12:39 (GMT) |
commit | 7cf1fcf347853a9efe9e0c21191ad66a650f3da7 (patch) | |
tree | 39fe41efd2fd1a0a448b6a72210d0201fae5e1b2 | |
parent | 1e6124902a74d5f8445875f64bb2921aad1f9e57 (diff) | |
download | cpython-7cf1fcf347853a9efe9e0c21191ad66a650f3da7.zip cpython-7cf1fcf347853a9efe9e0c21191ad66a650f3da7.tar.gz cpython-7cf1fcf347853a9efe9e0c21191ad66a650f3da7.tar.bz2 |
Always include config.h
-rw-r--r-- | Include/allobjects.h | 2 | ||||
-rw-r--r-- | Include/pgenheaders.h | 2 | ||||
-rw-r--r-- | Modules/md5c.c | 2 | ||||
-rw-r--r-- | Modules/regexpr.c | 2 | ||||
-rw-r--r-- | Parser/intrcheck.c | 3 | ||||
-rw-r--r-- | Parser/myreadline.c | 2 | ||||
-rw-r--r-- | Python/atof.c | 2 | ||||
-rw-r--r-- | Python/fmod.c | 2 | ||||
-rw-r--r-- | Python/getmtime.c | 2 | ||||
-rw-r--r-- | Python/mystrtoul.c | 2 | ||||
-rw-r--r-- | Python/strtod.c | 2 | ||||
-rw-r--r-- | Python/thread.c | 2 |
12 files changed, 0 insertions, 25 deletions
diff --git a/Include/allobjects.h b/Include/allobjects.h index 87b9786..d19eb23 100644 --- a/Include/allobjects.h +++ b/Include/allobjects.h @@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Include nearly all Python header files */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* config.h may or may not define DL_IMPORT */ #ifndef DL_IMPORT /* declarations for DLL import/export */ diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h index cc4386f..6a3cdad 100644 --- a/Include/pgenheaders.h +++ b/Include/pgenheaders.h @@ -30,9 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Include files and extern declarations used by most of the parser. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* config.h may or may not define DL_IMPORT */ #ifndef DL_IMPORT /* declarations for DLL import/export */ diff --git a/Modules/md5c.c b/Modules/md5c.c index d7c7e4f..81036eb 100644 --- a/Modules/md5c.c +++ b/Modules/md5c.c @@ -23,9 +23,7 @@ These notices must be retained in any copies of any part of this documentation and/or software. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "md5.h" /* Constants for MD5Transform routine. diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 84f0b94..4f497f1 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -24,9 +24,7 @@ from GNU regexp. */ -#ifdef HAVE_CONFIG_H #include "config.h" /* For Win* specific redefinition of printf c.s. */ -#endif #include "myproto.h" /* For PROTO macro --Guido */ diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index dd53a1a..c3fabe7 100644 --- a/Parser/intrcheck.c +++ b/Parser/intrcheck.c @@ -24,10 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Check for interrupts */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif - #include "myproto.h" #include "intrcheck.h" diff --git a/Parser/myreadline.c b/Parser/myreadline.c index d210d8b..75a43ab 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -32,9 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - a malloc'ed string ending in \n normally */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> #include <string.h> diff --git a/Python/atof.c b/Python/atof.c index 894490a..f7e9b7d 100644 --- a/Python/atof.c +++ b/Python/atof.c @@ -27,9 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. and is slow and inaccurate. But it's good enough for the occasional string literal... */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <ctype.h> diff --git a/Python/fmod.c b/Python/fmod.c index 777166b..ffe97f5 100644 --- a/Python/fmod.c +++ b/Python/fmod.c @@ -24,9 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Portable fmod(x, y) implementation for systems that don't have it */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "mymath.h" #include <errno.h> diff --git a/Python/getmtime.c b/Python/getmtime.c index fde6a3b..1e27b07 100644 --- a/Python/getmtime.c +++ b/Python/getmtime.c @@ -26,9 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* (A separate file because this may be OS dependent) */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <sys/types.h> #include <sys/stat.h> diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index a646283..5dfade8 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -22,9 +22,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* Convert a possibly signed character to a nonnegative int */ /* XXX This assumes characters are 8 bits wide */ diff --git a/Python/strtod.c b/Python/strtod.c index dddc98b..1c475e5 100644 --- a/Python/strtod.c +++ b/Python/strtod.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* comp.sources.misc strtod(), as posted in comp.lang.tcl, with bugfix for "123000.0" and acceptance of space after 'e' sign nuked. diff --git a/Python/thread.c b/Python/thread.c index 2d80b09..c6f8c51 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. which is included by this file dependent on config settings. Stuff shared by all thread_*.h files is collected here. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> |