Skip to content

ltp: kill off some compile warnings

Alex Elder ltp 1 version New

Get series with b4
b4 am 1301918929.3282.30.camel@doink

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ltp: fix databinchk() definitioninclude/databin.h lib/databin.c+3 -30 replies
2/6ltp: move type definitions up in "doio.c"testcases/kernel/fs/doio/doio.c+110 -1100 replies
3/6ltp: use C function prototypes in "doio.c"testcases/kernel/fs/doio/doio.c+216 -2320 replies
4/6ltp: use C function prototypes in "growfiles.c"testcases/kernel/fs/doio/growfiles.c+51 -700 replies
5/6ltp: use C function prototypes in "iogen.c"testcases/kernel/fs/doio/iogen.c+24 -370 replies
6/6ltp: enable -Wall for doio compilestestcases/kernel/fs/doio/Makefile+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/6] 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