From b5453b9508188ab60c13ee1b9f13b1eb1a568d8e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 22 Mar 2012 20:36:34 +0000 Subject: [PATCH] * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. * sparc-nat.c (sparc_xfer_wcookie): Make static. --- gdb/ChangeLog | 5 +++++ gdb/sparc-linux-nat.c | 2 +- gdb/sparc-nat.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fce6934c66..82fa1b47de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-22 Richard Henderson + + * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. + * sparc-nat.c (sparc_xfer_wcookie): Make static. + 2012-03-22 Richard Henderson * jit.c (jit_read_code_entry): Compute alignment and offset of diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c index b18ceedc1e..d56a6bd050 100644 --- a/gdb/sparc-linux-nat.c +++ b/gdb/sparc-linux-nat.c @@ -53,7 +53,7 @@ fill_fpregset (const struct regcache *regcache, sparc32_collect_fpregset (regcache, regnum, fpregs); } -void _initialialize_sparc_linux_nat (void); +void _initialize_sparc_linux_nat (void); void _initialize_sparc_linux_nat (void) diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index a80ee8e0d0..cf36abd311 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -255,7 +255,7 @@ sparc_store_inferior_registers (struct target_ops *ops, /* Fetch StackGhost Per-Process XOR cookie. */ -LONGEST +static LONGEST sparc_xfer_wcookie (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len) -- 2.34.1