Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macshlglue.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 | f840bf6a3351 |
| children |
line wrap: on
line diff
--- a/Mac/Python/macshlglue.c Wed Jun 26 20:36:12 2002 +0000 +++ b/Mac/Python/macshlglue.c Wed Jun 26 20:37:40 2002 +0000 @@ -54,7 +54,7 @@ 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.
