Skip to content

Commit dfb73a0

Browse files
Wanlong GaoJesper Nilsson
authored andcommitted
cris:fix the wrong function declear
Fix wrong declear of write_stack_register. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Jesper Nilsson <jespern@axis.com>
1 parent 473e162 commit dfb73a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/cris/arch-v10/kernel

‎arch/cris/arch-v10/kernel/kgdb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static int write_register (int regno, char *val);
264264

265265
/* Write a value to a specified register in the stack of a thread other
266266
than the current thread. */
267-
static write_stack_register (int thread_id, int regno, char *valptr);
267+
static int write_stack_register(int thread_id, int regno, char *valptr);
268268

269269
/* Read a value from a specified register in the register image. Returns the
270270
status of the read operation. The register value is returned in valptr. */

0 commit comments

Comments
 (0)