diff Mac/Python/macglue.c @ 24012:e8a263db1be0 legacy-trunk

Changed some prototypes to match the exact definition in some faraway Apple header files. If we're building with precompiled headers these are in scope.
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 26 Jun 2002 20:37:40 +0000
parents 5f2dcdd09329
children 74d1ad61f843
line wrap: on
line diff
--- a/Mac/Python/macglue.c	Wed Jun 26 20:36:12 2002 +0000
+++ b/Mac/Python/macglue.c	Wed Jun 26 20:37:40 2002 +0000
@@ -65,9 +65,9 @@
 /* Functions we redefine because they're in obscure libraries */
 extern void SpinCursor(short x);
 extern void RotateCursor(short x);
-extern pascal void PLstrcpy(unsigned char *, unsigned char *);
-extern pascal int PLstrcmp(unsigned char *, unsigned char *);
-extern pascal unsigned char *PLstrrchr(unsigned char *, unsigned char);
+extern pascal unsigned char * PLstrcpy(unsigned char *, const unsigned char *);
+extern pascal short PLstrcmp(const unsigned char *, const unsigned char *);
+extern pascal char *PLstrrchr(const unsigned char *, short);
 
 #endif