mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Make the prototype match the declaration in the GUSI header files.
This commit is contained in:
parent
c5601f4839
commit
e0c62b4db0
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
#include "macdefs.h"
|
#include "macdefs.h"
|
||||||
|
|
||||||
int
|
void
|
||||||
sync(void)
|
sync(void)
|
||||||
{
|
{
|
||||||
if (FlushVol((StringPtr)0, 0) == noErr)
|
if (FlushVol((StringPtr)0, 0) == noErr)
|
||||||
return 0;
|
return;
|
||||||
else {
|
else {
|
||||||
errno= ENODEV;
|
errno= ENODEV;
|
||||||
return -1;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user