From 06359e39cdf298b75c54f214d9fd42379484d5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 22 Feb 2017 10:07:48 +0100 Subject: [PATCH] examples: add return in spi_max7219.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some compilers are raising an error if no value is returned in main. Add a return 0 in spi_max7219.c main to quiet them. Signed-off-by: Cédric Bosdonnat Signed-off-by: Brendan Le Foll --- examples/spi_max7219.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/spi_max7219.c b/examples/spi_max7219.c index 4c1ad06..276cff9 100644 --- a/examples/spi_max7219.c +++ b/examples/spi_max7219.c @@ -85,4 +85,5 @@ main(int argc, char** argv) mraa_spi_stop(spi); //! [Interesting] + return 0; }