Browse Source

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>
Wanlong Gao 14 years ago
parent
commit
dfb73a071f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/cris/arch-v10/kernel/kgdb.c

+ 1 - 1
arch/cris/arch-v10/kernel/kgdb.c

@@ -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. */