ltp: kill off some compile warnings
cover ltp: kill off some compile warnings
The motivation for this series of patches is to eliminate build warnings in files under "testcases/kernel/fs/doio/". The main reason warnings are emitted is that most functions are defined using old-style C syntax. So most of the changes amount to updating such functions to use standard C prototypes.
The first patch fixes a buggy header file. The next one gathers type definitions to the top of "doio.c" so they are defined when needed in declaring all the function prototypes.
The last patch enables the "-Wall" flag to gcc for these files.
-Alex
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list