[Python-checkins] python/dist/src/Mac/Python macshlglue.c,1.16,1.17 macglue.c,1.111,1.112

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Wed, 26 Jun 2002 13:37:43 -0700


Update of /cvsroot/python/python/dist/src/Mac/Python
In directory usw-pr-cvs1:/tmp/cvs-serv18553

Modified Files:
	macshlglue.c macglue.c 
Log Message:
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.


Index: macshlglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macshlglue.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** macshlglue.c	24 Jul 2000 19:50:31 -0000	1.16
--- macshlglue.c	26 Jun 2002 20:37:40 -0000	1.17
***************
*** 55,59 ****
  
  /* Defined either in macglue.c or in a MPW library: */
! extern pascal int PLstrcmp(unsigned char *, unsigned char *);
  
  /*
--- 55,59 ----
  
  /* Defined either in macglue.c or in a MPW library: */
! extern pascal short PLstrcmp(const unsigned char *, const unsigned char *);
  
  /*

Index: macglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macglue.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** macglue.c	11 Apr 2002 20:48:19 -0000	1.111
--- macglue.c	26 Jun 2002 20:37:40 -0000	1.112
***************
*** 66,72 ****
  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);
  
  #endif
--- 66,72 ----
  extern void SpinCursor(short x);
  extern void RotateCursor(short x);
! 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