This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] make a few functions static in hppa-hpux-tdep
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 17 Dec 2004 11:22:27 -0800
- Subject: [commit] make a few functions static in hppa-hpux-tdep
- Reply-to: Randolph Chung <randolph at tausq dot org>
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/