From: Guido van Rossum Date: Tue, 21 Feb 1995 20:58:53 +0000 (+0000) Subject: ported to MPW/SC X-Git-Tag: v1.2b4~179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4410d571a8dbc5ea36dbc78408687e7cb3d2d3fc;p=thirdparty%2FPython%2Fcpython.git ported to MPW/SC --- diff --git a/Mac/Modules/ctbmodule.c b/Mac/Modules/ctbmodule.c index 52009a04a5f9..ef03f9227fc0 100644 --- a/Mac/Modules/ctbmodule.c +++ b/Mac/Modules/ctbmodule.c @@ -1,6 +1,6 @@ /*********************************************************** -Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum, -Amsterdam, The Netherlands. +Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, +The Netherlands. All Rights Reserved @@ -27,15 +27,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "allobjects.h" -#include "modsupport.h" /* For getargs() etc. */ -#include +#include "macglue.h" + #include #include #include #include -/* #include */ -#ifndef __MWERKS__ + +#ifndef HAVE_UNIVERSAL_HEADERS #define ConnectionCompletionUPP ProcPtr #define ConnectionChooseIdleUPP ProcPtr #define NewConnectionCompletionProc(x) (x) @@ -445,7 +445,7 @@ ctbcm_setattr(self, name, v) return 0; } -static typeobject ctbcmtype = { +statichere typeobject ctbcmtype = { OB_HEAD_INIT(&Typetype) 0, /*ob_size*/ "ctbcm", /*tp_name*/