summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-06-26 20:43:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-06-26 20:43:24 (GMT)
commite0c62b4db0acd29fa4720433b6bc19f8511dfb04 (patch)
treebd9acbda08ff7525a292db2049c8fafd698eb3e5
parentc5601f48393eab55c5b99e5b0ba22d9cd27baaf3 (diff)
downloadcpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.zip
cpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.tar.gz
cpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.tar.bz2
Make the prototype match the declaration in the GUSI header files.
-rw-r--r--Mac/Compat/sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Compat/sync.c b/Mac/Compat/sync.c
index 944ba23..1a8d3f9 100644
--- a/Mac/Compat/sync.c
+++ b/Mac/Compat/sync.c
@@ -5,13 +5,13 @@
#include "macdefs.h"
-int
+void
sync(void)
{
if (FlushVol((StringPtr)0, 0) == noErr)
- return 0;
+ return;
else {
errno= ENODEV;
- return -1;
+ return;
}
}