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

Bug#220624: libc6-dev: breaks builds on 2.4 systems because depending on linux-kernel-headers which contain 2.5 headers



On Thu, Nov 13, 2003 at 01:50:58PM -0700, Alex Tsariounov wrote:
> On Thu, 2003-11-13 at 13:32, Daniel Jacobowitz wrote:
> > On Thu, Nov 13, 2003 at 01:29:22PM -0700, Alex Tsariounov wrote:
> > > This should be the same for any libc function, whether printf() for
> > > which according to it's man page you should include stdio.h, or
> > > query_module for which you include linux/module.h.
> > 
> > That is a bug in the manual page, then.  It should be updated.  Libc
> > does not provide a header which prototypes this function.
> 
> Ok, then:
> 
>         $ nm --dynamic /lib/libc-2.3.2.so | grep query 
>         000d7b10 T query_module
> 
> says to me that this is a public libc function.
> 
> Are you saying that it is not and should not be used then?

Libc provides the function, as a convenience, esp. for architectures
where the _syscall macros in <asm/unistd.h> can't be directly used.

However, it does not provide a prototype or associated definitions. 
Which is what I said.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: