From e0c62b4db0acd29fa4720433b6bc19f8511dfb04 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 26 Jun 2002 20:43:24 +0000 Subject: Make the prototype match the declaration in the GUSI header files. --- Mac/Compat/sync.c | 6 +++--- 1 file 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; } } -- cgit v0.12