diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-26 20:43:24 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-26 20:43:24 (GMT) |
commit | e0c62b4db0acd29fa4720433b6bc19f8511dfb04 (patch) | |
tree | bd9acbda08ff7525a292db2049c8fafd698eb3e5 /Mac | |
parent | c5601f48393eab55c5b99e5b0ba22d9cd27baaf3 (diff) | |
download | cpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.zip cpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.tar.gz cpython-e0c62b4db0acd29fa4720433b6bc19f8511dfb04.tar.bz2 |
Make the prototype match the declaration in the GUSI header files.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Compat/sync.c | 6 |
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; } } |