1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[python] another way to avoid warnings

This commit is contained in:
Witold Filipczyk 2022-01-29 12:21:13 +01:00
parent 386a0f956f
commit c130f96452
10 changed files with 21 additions and 36 deletions

View File

@ -4,14 +4,12 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#include <osdefs.h>
#include <stdlib.h>
#undef HAVE_TERM_H
#include "elinks.h"
#include "config/home.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "bfu/inpfield.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "cache/cache.h"

View File

@ -4,15 +4,12 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#include <iconv.h>
#include <stdarg.h>
#include <string.h>
#undef HAVE_TERM_H
#include "elinks.h"
#include "cache/cache.h"

View File

@ -4,14 +4,11 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#include <stdarg.h>
#include <string.h>
#undef HAVE_TERM_H
#include "elinks.h"
#include "config/kbdbind.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "cache/cache.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "bfu/menu.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "intl/libintl.h"

View File

@ -4,11 +4,8 @@
#include "config.h"
#endif
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#include <Python.h>
#include "scripting/python/pythoninc.h"
#undef HAVE_TERM_H
#include "elinks.h"
#include "intl/libintl.h"

View File

@ -0,0 +1,11 @@
#ifndef EL__SCRIPTING_PYTHON_PYTHONINC_H
#define EL__SCRIPTING_PYTHON_PYTHONINC_H
#define PY_SSIZE_T_CLEAN
#undef HAVE_TERM_H
#undef _XOPEN_SOURCE
#include <Python.h>
#undef HAVE_TERM_H
#endif