Source-Changes archive

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

Re: CVS commit: [nathanw_sa] src/lib/libc/thread-stub



Jason R Thorpe <thorpej%wasabisystems.com@localhost> writes:

> On Thu, Jan 09, 2003 at 04:54:01AM +0200, Nathan J Williams wrote:
> 
>  > Module Name:       src
>  > Committed By:      nathanw
>  > Date:              Thu Jan  9 02:54:01 UTC 2003
>  > 
>  > Modified Files:
>  >    src/lib/libc/thread-stub [nathanw_sa]: thread-stub.c
>  > 
>  > Log Message:
>  > __weak_alias() declarations don't compile with a semicolon at the
>  > end.
> 
> They don't?  I built the library ... several times!

To be more precise, lint doesn't like it:

lint -chapbxzF -w -X 272  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT 
-I/home/nathanw/work/sa/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP 
-D__DBINTERFACE_PRIVATE -I/d/nbsd/sasrc/libexec/ld.elf_so 
-I/home/nathanw/work/sa/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE 
-I/home/nathanw/work/sa/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP 
-DFLOATING_POINT -i /home/nathanw/work/sa/lib/libc/thread-stub/thread-stub.c
/home/nathanw/work/sa/lib/libc/thread-stub/thread-stub.c(75): warning: syntax 
error: empty declaration [0]

and if you look at the other uses of __weak_alias() in our tree,
you'll see that they don't have trailing semicolons.

        - Nathan




Home | Main Index | Thread Index | Old Index