summaryrefslogtreecommitdiff
path: root/Python/mactoolboxglue.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-11-09 14:47:18 +0000
committerMichael W. Hudson <mwh@python.net>2002-11-09 14:47:18 +0000
commit5f26dda25d80d33dd9d2cf646778c30fd94de10c (patch)
tree880c6e377751b3cdaa3b30112d6092acf892345d /Python/mactoolboxglue.c
parent84fcd924610e815131b6a9b00aaa5246ea7804c5 (diff)
downloadcpython-git-5f26dda25d80d33dd9d2cf646778c30fd94de10c.tar.gz
Restore to ANSI C.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r--Python/mactoolboxglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c
index dd42f07d1e..fc1d1afde1 100644
--- a/Python/mactoolboxglue.c
+++ b/Python/mactoolboxglue.c
@@ -90,8 +90,8 @@ char *PyMac_StrError(int err)
** Estr resources. We ignore all errors. We also try
** this only once.
*/
- errors_loaded = 1;
PyObject *m, *rv;
+ errors_loaded = 1;
m = PyImport_ImportModule("macresource");
if (!m) {
@@ -603,4 +603,4 @@ GLUE_CONVERT(CFURLRef, CFURLRefObj_Convert, "Carbon.CF")
GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
-#endif /* USE_TOOLBOX_OBJECT_GLUE */ \ No newline at end of file
+#endif /* USE_TOOLBOX_OBJECT_GLUE */