summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/allobjects.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Include/allobjects.h b/Include/allobjects.h
index f859606..17bfa71 100644
--- a/Include/allobjects.h
+++ b/Include/allobjects.h
@@ -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