]> granicus.if.org Git - python/commitdiff
Use struct _inittab def from import.h
authorGuido van Rossum <guido@python.org>
Thu, 23 May 1996 22:57:18 +0000 (22:57 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 23 May 1996 22:57:18 +0000 (22:57 +0000)
Modules/config.c.in

index b0db7f35749c7b7c94c4aa59d813575a069c6c17..494a2a227ee902b64813ed8bf0fe464ba08a81db 100644 (file)
@@ -37,10 +37,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 extern void PyMarshal_Init();
 extern void initimp();
 
-struct {
-       char *name;
-       void (*initfunc)();
-} inittab[] = {
+struct _inittab inittab[] = {
 
 /* -- ADDMODULE MARKER 2 -- */