This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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)
___________________________________________________________________

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]