This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Clean warning on ramfs.c


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]