]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
removed redundant C++ hack
authorGuido van Rossum <guido@python.org>
Thu, 7 Sep 1995 19:37:11 +0000 (19:37 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 7 Sep 1995 19:37:11 +0000 (19:37 +0000)
Include/allobjects.h

index f8596069a13687ba8fe6663d634ee388fa747c7d..17bfa7176ecbc842f4510457a146b8cc8fb3dc0d 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef Py_ALLOBJECTS_H
 #define Py_ALLOBJECTS_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
 
 /***********************************************************
 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
@@ -104,10 +102,6 @@ extern void Py_FatalError Py_PROTO((char *));
 #define Py_CHARMASK(c)         ((c) & 0xff)
 #endif
 
-#ifdef __cplusplus
-}
-#endif
-
 #ifndef Py_USE_NEW_NAMES
 #include "rename2.h"
 #endif