From: Jack Jansen Date: Wed, 26 Jun 2002 20:43:24 +0000 (+0000) Subject: Make the prototype match the declaration in the GUSI header files. X-Git-Tag: v2.3c1~5196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0c62b4db0acd29fa4720433b6bc19f8511dfb04;p=thirdparty%2FPython%2Fcpython.git Make the prototype match the declaration in the GUSI header files. --- diff --git a/Mac/Compat/sync.c b/Mac/Compat/sync.c index 944ba2358d5d..1a8d3f965863 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; } }