summaryrefslogtreecommitdiff
path: root/Include/cpython/fileobject.h
diff options
context:
space:
mode:
authorSkip Montanaro <skip.montanaro@gmail.com>2020-06-01 13:35:56 -0500
committerGitHub <noreply@github.com>2020-06-01 20:35:56 +0200
commitb4d5a5cca29426a282e8f1e64b2271fdd1f0a23e (patch)
treed5557646d6c9b88a44b1459000cdf30d219907c2 /Include/cpython/fileobject.h
parentcbe129692293251e7fbcea9ff0d822824d90c140 (diff)
downloadcpython-git-b4d5a5cca29426a282e8f1e64b2271fdd1f0a23e.tar.gz
bpo-39583: Remove superfluous "extern C" bits from Include/cpython/*.h (GH-18413)
Diffstat (limited to 'Include/cpython/fileobject.h')
-rw-r--r--Include/cpython/fileobject.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/cpython/fileobject.h b/Include/cpython/fileobject.h
index 57eac13c06..4f2408c7e8 100644
--- a/Include/cpython/fileobject.h
+++ b/Include/cpython/fileobject.h
@@ -2,10 +2,6 @@
# error "this header file must not be included directly"
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *);
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
@@ -26,7 +22,3 @@ typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *);
PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path);
PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path);
PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData);
-
-#ifdef __cplusplus
-}
-#endif