mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-29556: Remove unused #include <langinfo.h> (#98)
bltinmodule.c: Added inb744ba1
and no longer necessary sinced64e8a7
posixmodule.c: Added ind1cd4d4
and no longer necessary sinceefb00c0
pythonrun.c: Added in73d538b
and no longer necessary sinced600951
sysmodule.c: Added in5467d4c
and no longer necessary sincea2c17c5
This commit is contained in:
parent
85064db281
commit
72e81d00ee
4 changed files with 0 additions and 16 deletions
|
@ -87,10 +87,6 @@ corresponding Unix manual entries for more information on calls.");
|
||||||
#include <sys/loadavg.h>
|
#include <sys/loadavg.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
|
||||||
#include <langinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SENDFILE_H
|
#ifdef HAVE_SYS_SENDFILE_H
|
||||||
#include <sys/sendfile.h>
|
#include <sys/sendfile.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
|
||||||
#include <langinfo.h> /* CODESET */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The default encoding used by the platform file system APIs
|
/* The default encoding used by the platform file system APIs
|
||||||
Can remain NULL for all platforms that don't have such a concept
|
Can remain NULL for all platforms that don't have such a concept
|
||||||
|
|
||||||
|
|
|
@ -25,10 +25,6 @@
|
||||||
#include "malloc.h" /* for alloca */
|
#include "malloc.h" /* for alloca */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
|
||||||
#include <langinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
#undef BYTE
|
#undef BYTE
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
|
@ -33,10 +33,6 @@ extern void *PyWin_DLLhModule;
|
||||||
extern const char *PyWin_DLLVersionString;
|
extern const char *PyWin_DLLVersionString;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
|
||||||
#include <langinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
_Py_IDENTIFIER(_);
|
_Py_IDENTIFIER(_);
|
||||||
_Py_IDENTIFIER(__sizeof__);
|
_Py_IDENTIFIER(__sizeof__);
|
||||||
_Py_IDENTIFIER(buffer);
|
_Py_IDENTIFIER(buffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue