[Python-checkins] python/dist/src/Mac/Compat sync.c,1.2,1.3
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 26 Jun 2002 13:43:26 -0700
Update of /cvsroot/python/python/dist/src/Mac/Compat
In directory usw-pr-cvs1:/tmp/cvs-serv20741/Mac/Compat
Modified Files:
sync.c
Log Message:
Make the prototype match the declaration in the GUSI header files.
Index: sync.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Compat/sync.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sync.c 11 Jul 2000 21:15:38 -0000 1.2
--- sync.c 26 Jun 2002 20:43:24 -0000 1.3
***************
*** 6,17 ****
#include "macdefs.h"
! int
sync(void)
{
if (FlushVol((StringPtr)0, 0) == noErr)
! return 0;
else {
errno= ENODEV;
! return -1;
}
}
--- 6,17 ----
#include "macdefs.h"
! void
sync(void)
{
if (FlushVol((StringPtr)0, 0) == noErr)
! return;
else {
errno= ENODEV;
! return;
}
}