From 027f6722c4056f59f7baaabc082fd3ecabd1dd27 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 26 Jun 2002 20:37:40 +0000 Subject: 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. --- Mac/Python/macglue.c | 6 +++--- 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. -- cgit v0.12