cris:fix the wrong function declear
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Wed, 3 Aug 2011 02:43:21 +0000 (04:43 +0200)
committerJesper Nilsson <jespern@axis.com>
Tue, 3 Apr 2012 14:42:15 +0000 (16:42 +0200)
Fix wrong declear of write_stack_register.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v10/kernel/kgdb.c

index b579dd0..37e6d2c 100644 (file)
@@ -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. */