diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2022-02-26 02:16:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 00:16:59 +0100 |
commit | 4060111f9dc44682f9d7bdafb4e7dacb96706ad3 (patch) | |
tree | 4a37519d4101130f91722b69eb7c5fedb740ba8e /Python/errors.c | |
parent | eb002dbe0da9622245a355db5f0cd5aa2fc70b40 (diff) | |
download | cpython-git-4060111f9dc44682f9d7bdafb4e7dacb96706ad3.tar.gz |
bpo-46816: Remove declarations for non-__STDC__ compilers (GH-31466)
After Python switched to C11, there is a guarantee that every compiler
conforms to ISO C so checks of __STDC__ have no sense.
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/errors.c b/Python/errors.c index 10a06a5ae3..e170c9dff2 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -10,12 +10,6 @@ #include "pycore_sysmodule.h" // _PySys_Audit() #include "pycore_traceback.h" // _PyTraceBack_FromFrame() -#ifndef __STDC__ -#ifndef MS_WINDOWS -extern char *strerror(int); -#endif -#endif - #include <ctype.h> #ifdef MS_WINDOWS # include <windows.h> |