From: Subrata M. <su...@li...> - 2009-06-09 18:24:53
|
On Mon, 2009-06-01 at 21:20 +0200, Cyril Hrubis wrote: > Hi, > > This patch does: > ================ > > Removing no longer used code from test.h eg. test_error.c is no longer in ltp, > and the same for t_res.c so there is no need to include function prototypes for > these. > > Adding void to functions that doesn't take any parameters; tst_exit() -> > tst_exit(void); so code that pases parameters to these is not compileable any > more. > > Also fixes all test broken by that change. As parameters passed to tst_exit() > are ignored anyway it's quite safe to just remove them; but I'would rather see > someone take a closer look. > > Code cleanups and fixes in tst_res.c: > > * removed trivial and useless comments > * cleaned coding style > * and much more > > TODO: there is much redundant code in tst_res.c I'll eliminate that by static > functions > > Signed-off-by: ch...@su... Thanks. Regards-- Subrata > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ Ltp-list mailing list Ltp...@li... https://lists.sourceforge.net/lists/listinfo/ltp-list |