[PATCH] bits/ipc.h etc. (was: Re: 2.3.39+ IPC for glibc 2.2)

Jakub Jelinek jakub@redhat.com
Mon Jan 24 03:34:00 GMT 2000


On Mon, Jan 24, 2000 at 03:19:53AM -0800, Ulrich Drepper wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
> 
> > __LIBC_IPC_INTERNAL is gone and private declarations are moved to private
> > headers which will not be exported to /usr/include.
> 
> I don't see this last part.  In the public headers you include the
> bits/ipc_priv.h files.  This really should not be necessary.  No user
> program should ever have to use it and for the glibc sources, simply
> include the private definition file in the .c file.

I include bits/ipc_priv.h only in the private headers (bits/*_compat.h) and
.c files. But you're right that the _compat.h headers can be killed and
those structures moved into .c files because there is a 1:1 usage of them,
will do that in a minute (but __old_ipc_perm should stay in ipc_priv.h
header because it differs among architectures unlike the other __old_ structures.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.40 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________


More information about the Libc-hacker mailing list