summaryrefslogtreecommitdiffstats
path: root/Include/allobjects.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-07 19:37:11 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-07 19:37:11 (GMT)
commit23d7b4bbfd43a27722b99328c0632a28fcc8766c (patch)
tree09a9d2cc0975de5958cddf6b996a862a66271efe /Include/allobjects.h
parenta0dfc7ad65429e026e28d175626c32bd9fa1d078 (diff)
downloadcpython-23d7b4bbfd43a27722b99328c0632a28fcc8766c.zip
cpython-23d7b4bbfd43a27722b99328c0632a28fcc8766c.tar.gz
cpython-23d7b4bbfd43a27722b99328c0632a28fcc8766c.tar.bz2
removed redundant C++ hack
Diffstat (limited to 'Include/allobjects.h')
-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