This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Clean warning on ramfs.c
- From: sebastien Couret <sebastien dot couret at elios-informatique dot fr>
- To: ecos-patches at sources dot redhat dot com
- Date: Thu, 11 Mar 2004 11:17:56 +0100
- Subject: Clean warning on ramfs.c
- Organization: Elios Informatique
- Reply-to: sebastien dot couret at elios-informatique dot fr
Hello All,
Just a minor issue , in ramfs.c (1.7) , line 555 , compiler is issuing a
warning because of bad prototype for function block_init() which takes no
argument, just added 'void' :
diff -a -u -w -r 1.7 ramfs.c
--- 1.7/ramfs.c Thu Mar 11 10:35:06 2004
+++ ramfs.c Thu Mar 11 11:12:10 2004
@@ -551,7 +551,7 @@
#ifdef CYGPKG_FS_RAM_BLOCKS_ARRAY
-static void block_init()
+static void block_init(void)
{
static cyg_bool initialized = false;
int i;