This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

Re: PATCH: thread.c syntax fix


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/

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