diff Mac/Python/macsetfiletype.c @ 13547:db963a615bc9 legacy-trunk

ANSIfication step 2: make sure all needed prototypes are available, and all needed header files included.
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 11 Jul 2000 21:16:03 +0000
parents bc35647fe472
children
line wrap: on
line diff
--- a/Mac/Python/macsetfiletype.c	Tue Jul 11 21:14:21 2000 +0000
+++ b/Mac/Python/macsetfiletype.c	Tue Jul 11 21:16:03 2000 +0000
@@ -34,10 +34,12 @@
  *
  */
  
+#include "Python.h"
+#include "macglue.h"
 #include "macdefs.h"
 
 int
-setfiletype(name, creator, type)
+PyMac_setfiletype(name, creator, type)
 char *name;
 long creator, type;
 {
@@ -56,7 +58,7 @@
 }
 
 long
-getfiletype(name)
+PyMac_getfiletype(name)
 char *name;
 {
 	FInfo info;