[ob/6.0] Fix a new sparc build failure

Daniel Jacobowitz
2003-06-29T21:17:05Z

sparc_y_regnum is mentioned in the tm header, so sparc-nat.c actually
references it. Fixes another sparc-native build failure; checked in.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer

2003-06-29 Daniel Jacobowitz <drow@mvista.com>

* sparc-tdep.c (sparc_y_regnum): Make external again.

--- gdb-5.3.20030629/gdb/sparc-tdep.c.orig 2003-06-29 17:10:00.000000000 -0400
+++ gdb-5.3.20030629/gdb/sparc-tdep.c 2003-06-29 17:10:09.000000000 -0400
@@ -3188,7 +3188,7 @@ sparc_call_dummy_address (void)

/* Supply the Y register number to those that need it. */

-static int
+int
sparc_y_regnum (void)
{
return gdbarch_tdep (current_gdbarch)->y_regnum;