Skip to content

Commit

Permalink
cris:fix the wrong function declear
Browse files Browse the repository at this point in the history
Fix wrong declear of write_stack_register.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
  • Loading branch information
Wanlong Gao authored and Jesper Nilsson committed Apr 3, 2012
1 parent 473e162 commit dfb73a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/cris/arch-v10/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static int write_register (int regno, char *val);

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

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

0 comments on commit dfb73a0

Please sign in to comment.