summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-21 20:58:53 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-21 20:58:53 (GMT)
commit4410d571a8dbc5ea36dbc78408687e7cb3d2d3fc (patch)
treeea33622304efb57d123036fb88d9d6331f526ca6
parent7fb1dcc43701f573744201f258e1ecd211f34f1c (diff)
downloadcpython-4410d571a8dbc5ea36dbc78408687e7cb3d2d3fc.zip
cpython-4410d571a8dbc5ea36dbc78408687e7cb3d2d3fc.tar.gz
cpython-4410d571a8dbc5ea36dbc78408687e7cb3d2d3fc.tar.bz2
ported to MPW/SC
-rw-r--r--Mac/Modules/ctbmodule.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Mac/Modules/ctbmodule.c b/Mac/Modules/ctbmodule.c
index 52009a0..ef03f92 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 <stdio.h>
+#include "macglue.h"
+
#include <CommResources.h>
#include <Connections.h>
#include <ToolUtils.h>
#include <OSUtils.h>
-/* #include <pascal.h> */
-#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*/