This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFC] Move/Rename include/wait.h ("wait.h")
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFC] Move/Rename include/wait.h ("wait.h")
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 08 Dec 1999 23:36:11 -0700
- cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Reply-To: law at cygnus dot com
In message <384F481D.A77D2CEF@cygnus.com>you write:
> Hello,
>
> I'd like to put forward the proposal that the file ``include/wait.h'' be
> either:
>
> o renamed to include/gnu-wait.h (?)
>
> o moved to gdb/gdb-wait.h
>
> The original purpose of the file was to fill in any missing macro's not
> defined by <wait.h> and/or <sys/wait.h>. Unfortunately, because its
> name clashes with <wait.h>, it can easily lead to confusion over which
> header file (and sometimes the wrong header file) is being included.
>
> I'd like to rename/move the file so that this problem goes away :-) My
> preferred option is to move it to the GDB directory as gdb-wait.h since,
> to the best of my knowledge, nothing else is using it.
>
> Other than GDB is there any code that relies on this file?
I do not think GCC directly relies on it. If we're picking up that file,
it's by accident.
jeff