diff options
-rw-r--r-- | Mac/Python/macglue.c | 6 | ||||
-rw-r--r-- | Mac/Python/macshlglue.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index feb148f..25bc3f7 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -65,9 +65,9 @@ extern void SIOUXDoAboutBox(void); /* 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 diff --git a/Mac/Python/macshlglue.c b/Mac/Python/macshlglue.c index 523efc9..d88d443 100644 --- a/Mac/Python/macshlglue.c +++ b/Mac/Python/macshlglue.c @@ -54,7 +54,7 @@ PERFORMANCE OF THIS SOFTWARE. extern void __initialize(void); /* Defined either in macglue.c or in a MPW library: */ -extern pascal int PLstrcmp(unsigned char *, unsigned char *); +extern pascal short PLstrcmp(const unsigned char *, const unsigned char *); /* ** Variables passed from shared lib initialization to PyMac_AddLibResources. |