]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
rearranged modules alphabetically
authorGuido van Rossum <guido@python.org>
Wed, 19 Aug 1992 16:44:41 +0000 (16:44 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Aug 1992 16:44:41 +0000 (16:44 +0000)
Modules/config.c.in

index c62ee34a3792e924e5eb5194c8af2068eef0ac07..d565fdea7421ac6e8d4628953b4c41a5a766ed5b 100644 (file)
@@ -25,7 +25,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /* Configurable Python configuration file */
 
 #include "PROTO.h"
-#include "malloc.h"
+#include "mymalloc.h"
 
 #include "patchlevel.h"
 
@@ -115,14 +115,14 @@ getpythonpath()
    These are initialized when first imported. */
 
 /* Standard modules */
-extern void inittime();
+extern void initgrp();
+extern void initmarshal();
 extern void initmath();
 extern void initposix();
 extern void initpwd();
-extern void initgrp();
-extern void initmarshal();
 extern void initselect();
 extern void initsocket();
+extern void inittime();
 
 #ifdef USE_AUDIO
 extern void initaudio();
@@ -133,35 +133,38 @@ extern void inital();
 #ifdef USE_AMOEBA
 extern void initamoeba();
 #endif
-#ifdef USE_GL
-extern void initgl();
-#ifdef USE_FM
-extern void initfm();
+#ifdef USE_CD
+extern void initcd();
+#endif
 #ifdef USE_FL
 extern void initfl();
 #endif
+#ifdef USE_FM
+extern void initfm();
+#endif
+#ifdef USE_GL
+extern void initgl();
+#endif
+#ifdef USE_JPEG
+extern void initjpeg();
+#endif
+#ifdef USE_NIS
+extern void initnis();
 #endif
 #ifdef USE_PANEL
 extern void initpanel();
 #endif
-#endif
 #ifdef USE_REGEX
 extern void initregex();
 #endif
 #ifdef USE_STDWIN
 extern void initstdwin();
 #endif
-#ifdef USE_JPEG
-extern void initjpeg();
-#endif
-#ifdef USE_CD
-extern void initcd();
-#endif
 #ifdef USE_THREAD
 extern void initthread();
 #endif
-#ifdef USE_NIS
-extern void initnis();
+#ifdef USE_SV
+extern void initsv();
 #endif
 
 struct {
@@ -169,19 +172,18 @@ struct {
        void (*initfunc)();
 } inittab[] = {
 
-       /* Standard modules */
+       /* Standard modules, in alphabetical order */
 
-       {"time",        inittime},
+       {"grp",         initgrp},
+       {"marshal",     initmarshal},
        {"math",        initmath},
        {"posix",       initposix},
        {"pwd",         initpwd},
-       {"grp",         initgrp},
-       {"marshal",     initmarshal},
        {"select",      initselect},
        {"socket",      initsocket},
+       {"time",        inittime},
 
-
-       /* Optional modules */
+       /* Optional modules, in alphabetical order */
 
 #ifdef USE_AUDIO
        {"audio",       initaudio},
@@ -195,18 +197,33 @@ struct {
        {"amoeba",      initamoeba},
 #endif
 
-#ifdef USE_GL
-       {"gl",          initgl},
-#ifdef USE_FM
-       {"fm",          initfm},
+#ifdef USE_CD
+       {"cd",          initcd},
+#endif
+
 #ifdef USE_FL
        {"fl",          initfl},
 #endif
+
+#ifdef USE_FM
+       {"fm",          initfm},
 #endif
+
+#ifdef USE_GL
+       {"gl",          initgl},
+#endif
+
+#ifdef USE_JPEG
+       {"jpeg",        initjpeg},
+#endif
+
+#ifdef USE_NIS
+       {"nis",         initnis},
+#endif
+
 #ifdef USE_PANEL
        {"pnl",         initpanel},
 #endif
-#endif
 
 #ifdef USE_REGEX
        {"regex",       initregex},
@@ -216,20 +233,12 @@ struct {
        {"stdwin",      initstdwin},
 #endif
 
-#ifdef USE_JPEG
-       {"jpeg",        initjpeg},
-#endif
-
-#ifdef USE_CD
-       {"cd",          initcd},
-#endif
-
 #ifdef USE_THREAD
        {"thread",      initthread},
 #endif
 
-#ifdef USE_NIS
-       {"nis",         initnis},
+#ifdef USE_SV
+       {"sv",          initsv},
 #endif
 
        {0,             0}              /* Sentinel */