aboutsummaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-15 03:24:57 +0200
committerGitHub <noreply@github.com>2020-04-15 03:24:57 +0200
commit361dcdcefc80f5729ed18ac0ef73327794fbf400 (patch)
tree9ec3e27545cbf1f5f082b612ecbeb94b759827f9 /PC
parentbpo-40268: Remove unused pycore_pymem.h includes (GH-19531) (diff)
downloadcpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.tar.gz
cpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.tar.bz2
cpython-361dcdcefc80f5729ed18ac0ef73327794fbf400.zip
bpo-40268: Remove unused osdefs.h includes (GH-19532)
When the include is needed, add required symbol in a comment.
Diffstat (limited to 'PC')
-rw-r--r--PC/getpathp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 24a9323e6e6..d23d2bbde80 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -80,9 +80,9 @@
#include "Python.h"
-#include "pycore_initconfig.h" /* PyStatus */
-#include "pycore_pathconfig.h" /* _PyPathConfig */
-#include "osdefs.h"
+#include "pycore_initconfig.h" // PyStatus
+#include "pycore_pathconfig.h" // _PyPathConfig
+#include "osdefs.h" // SEP, ALTSEP
#include <wchar.h>
#ifndef MS_WINDOWS