]> granicus.if.org Git - python/commitdiff
Make the prototype match the declaration in the GUSI header files.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 26 Jun 2002 20:43:24 +0000 (20:43 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 26 Jun 2002 20:43:24 +0000 (20:43 +0000)
Mac/Compat/sync.c

index 944ba2358d5d1ed674954a8dae1517c826aca003..1a8d3f965863fa630b9539b5dde7304f304dae7b 100644 (file)
@@ -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;
        }
 }