Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/string



On Wed, Aug 05, 2009 at 04:08:00PM +0000, Joerg Sonnenberger wrote:
> Module Name:  src
> Committed By: joerg
> Date:         Wed Aug  5 16:08:00 UTC 2009
> 
> Modified Files:
>       src/lib/libc/string: Lint_ffs.c

I'm not sure why we have these Lint_xxx.c stubs for functions where
we have a real C source file.

I see no reason not to just pass lint the standard implementation.
About all you lose is the .d file, and I'm not sure the .ln
target is generated in the depend files - in any case it doesn't
really matter that much if lint loses the dependencies against
header files for these functions.

The recent changes I made to the libc makefile don't use the Lint_xxx.c
stubs for files where the presence of a .S file in SRCS auto-removes
the corresponding .c file.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index