summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-21 04:45:04 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-21 04:45:04 (GMT)
commit7d71fb8132d1ce0c49ad4557b89da592120cf118 (patch)
tree154c2d228325c3b6bfa6d95310972dcd3df9f6d7 /PC/config.c
parent670e6921349dd408b6958a0c5d3b1486725f9beb (diff)
downloadcpython-7d71fb8132d1ce0c49ad4557b89da592120cf118.zip
cpython-7d71fb8132d1ce0c49ad4557b89da592120cf118.tar.gz
cpython-7d71fb8132d1ce0c49ad4557b89da592120cf118.tar.bz2
Little fixes:
* make some module variables static to prevent name pollution * Add some comments to clarify what's going on and some XXXs to address * Add a space after "for" before ( * exc_value and tb can be NULL in some cases * Get working on Windows (I think)
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index 1d142b56..0885cdc 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -68,6 +68,7 @@ extern void init_subprocess(void);
extern void init_lsprof(void);
extern void init_ast(void);
extern void init_types(void);
+extern void initatexit(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -79,6 +80,7 @@ struct _inittab _PyImport_Inittab[] = {
{"array", initarray},
{"_ast", init_ast},
+ {"atexit", initatexit},
#ifdef MS_WINDOWS
#ifndef MS_WIN64
{"audioop", initaudioop},