PATCH: thread.c syntax fix
Chris Faylor
cgf@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
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/
More information about the Gdb-patches
mailing list