From: Alan Cox Date: Wed, 12 Oct 2016 18:37:31 +0000 (+0100) Subject: sync: fix compile error X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b6c59cddd027e6f470be833adb3c7c2bacb87ce7;p=FUZIX.git sync: fix compile error sync() is void and now correctly defined so return sync() fails. --- diff --git a/Applications/util/sync.c b/Applications/util/sync.c index 863d6899..37527f8a 100644 --- a/Applications/util/sync.c +++ b/Applications/util/sync.c @@ -1,6 +1,7 @@ #include -main(int argc, const char *argv[]) +int main(int argc, const char *argv[]) { - return sync(); + sync(); + return 0; }