From 20c9bba8da7bf22137076b34ac8bf10e1fce0828 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 7 Apr 2022 10:50:07 +0200 Subject: [PATCH] software/demo: Fix some warnings. --- litex/soc/software/demo/donut.c | 1 + litex/soc/software/demo/helloc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/litex/soc/software/demo/donut.c b/litex/soc/software/demo/donut.c index 0aab4177e..eab0905dc 100644 --- a/litex/soc/software/demo/donut.c +++ b/litex/soc/software/demo/donut.c @@ -21,6 +21,7 @@ signed char b[1760], z[1760]; +void donut(void); void donut(void) { int sA=1024,cA=0,sB=1024,cB=0,_; for (;;) { diff --git a/litex/soc/software/demo/helloc.c b/litex/soc/software/demo/helloc.c index 6549e1262..e8750cc83 100644 --- a/litex/soc/software/demo/helloc.c +++ b/litex/soc/software/demo/helloc.c @@ -1,5 +1,6 @@ #include +void helloc(void); void helloc(void) { printf("C: Hello, world!\n"); } \ No newline at end of file