summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/PC/config.c b/PC/config.c
index c246e7e..7047ffc 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -60,6 +60,7 @@ extern void init_lsprof(void);
extern void init_ast(void);
extern void init_fileio(void);
extern void initatexit(void);
+extern void _PyWarnings_Init(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -144,7 +145,8 @@ struct _inittab _PyImport_Inittab[] = {
{"__main__", NULL},
{"builtins", NULL},
{"sys", NULL},
-
+ {"_warnings", _PyWarnings_Init},
+
{"_fileio", init_fileio},
{"atexit", initatexit},