This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

[commit] make a few functions static in hppa-hpux-tdep


Small cleanup in hppa-hpux-tdep.c; make some not-exported functions 
static.

Committed as obvious. -randolph

2004-12-17  Randolph Chung  <tausq@debian.org>

	* hppa-hpux-tdep.c (setup_d_pid_in_inferior): Make static.
	(find_stub_with_shl_get): Make static.

Index: hppa-hpux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v
retrieving revision 1.36
diff -u -p -r1.36 hppa-hpux-tdep.c
--- hppa-hpux-tdep.c	17 Dec 2004 19:09:53 -0000	1.36
+++ hppa-hpux-tdep.c	17 Dec 2004 19:19:35 -0000
@@ -599,7 +599,7 @@ static struct symtab_and_line *break_cal
    ourselves.
    0 => success
    1 => failure  */
-int
+static int
 setup_d_pid_in_inferior (void)
 {
   CORE_ADDR anaddr;
@@ -645,7 +645,7 @@ setup_d_pid_in_inferior (void)
    end.c
    man entry for shl_findsym */
 
-CORE_ADDR
+static CORE_ADDR
 find_stub_with_shl_get (struct minimal_symbol *function, CORE_ADDR handle)
 {
   struct symbol *get_sym, *symbol2;
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


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