commit | e0c62b4db0acd29fa4720433b6bc19f8511dfb04 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Wed Jun 26 20:43:24 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Wed Jun 26 20:43:24 2002 +0000 |
tree | bd9acbda08ff7525a292db2049c8fafd698eb3e5 | |
parent | c5601f48393eab55c5b99e5b0ba22d9cd27baaf3 [diff] |
Make the prototype match the declaration in the GUSI header files.
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; } }