This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
RFA: make more rda/unix/thread-db.c functions static
- From: Jim Blandy <jimb at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: 21 Sep 2004 16:54:35 -0500
- Subject: RFA: make more rda/unix/thread-db.c functions static
How's this look?
2004-09-21 Jim Blandy <jimb@theseus.home>
* thread-db.c (thread_db_detach, thread_db_set_gen,
thread_db_thread_id): Make these functions static.
Index: rda/unix/thread-db.c
===================================================================
RCS file: /cvs/cvsfiles/devo/rda/unix/thread-db.c,v
retrieving revision 1.19
diff -c -p -r1.19 thread-db.c
*** rda/unix/thread-db.c 18 May 2004 06:12:54 -0000 1.19
--- rda/unix/thread-db.c 21 Sep 2004 21:52:33 -0000
*************** thread_db_open (struct gdbserv *serv, in
*** 873,879 ****
thread_db interface, but it's not really where this should
be done. */
! void
thread_db_detach (struct gdbserv *serv, struct gdbserv_target *target)
{
struct child_process *process = gdbserv_target_data (serv);
--- 873,879 ----
thread_db interface, but it's not really where this should
be done. */
! static void
thread_db_detach (struct gdbserv *serv, struct gdbserv_target *target)
{
struct child_process *process = gdbserv_target_data (serv);
*************** thread_db_get_gen (struct gdbserv *serv)
*** 1107,1120 ****
Handle 'Q' requests:
*/
! void
thread_db_set_gen (struct gdbserv *serv)
{
if (parentvec.process_set_gen)
parentvec.process_set_gen (serv);
}
! void
thread_db_thread_id (struct gdbserv *serv,
struct gdbserv_thread *thread,
struct gdbserv_reg *id)
--- 1107,1120 ----
Handle 'Q' requests:
*/
! static void
thread_db_set_gen (struct gdbserv *serv)
{
if (parentvec.process_set_gen)
parentvec.process_set_gen (serv);
}
! static void
thread_db_thread_id (struct gdbserv *serv,
struct gdbserv_thread *thread,
struct gdbserv_reg *id)