This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: PATCH: thread.c syntax fix
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Re: PATCH: thread.c syntax fix
- From: cgf at cygnus dot com (Chris Faylor)
- Date: 24 Jan 2000 03:18:35 GMT
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <20000123152735.A7047@rjlhome.sco.com>
In article <20000123152735.A7047@rjlhome.sco.com>,
Robert Lipe <robertl@sco.com> wrote:
>If a fn isn't proto'ed before it's seen it's assumed to return an
>int. Some compilers will issue diagnostics about the function type
>redeclaration.
>
>2000-01-23 Robert Lipe (robertl@sco.com)
>
> * thread.c (gdb_thread_select): Make static. Add prototype
> before first use.
Thanks for tracking this down. It looks like gdb_thread_select should
still be defined as a global to accomodate some not-ready-for-release
code dealing with threads.
So, I've added the declaration to a header file.
--
cgf@redhat.com
http://www.redhat.com/