ia64/xen-unstable

changeset 11627:b042bf974f3a

Remove static forward declaration in gdbstub code.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Sep 26 08:34:52 2006 +0100 (2006-09-26)
parents 7de1715d185e
children bdf3bddc97e7
files xen/common/gdbstub.c
line diff
     1.1 --- a/xen/common/gdbstub.c	Mon Sep 25 18:19:30 2006 +0100
     1.2 +++ b/xen/common/gdbstub.c	Tue Sep 26 08:34:52 2006 +0100
     1.3 @@ -53,6 +53,8 @@
     1.4  static char opt_gdb[30] = "none";
     1.5  string_param("gdb", opt_gdb);
     1.6  
     1.7 +static void gdbstub_console_puts(const char *str);
     1.8 +
     1.9  /* value <-> char (de)serialzers */
    1.10  char
    1.11  hex2char(unsigned long x)
    1.12 @@ -360,7 +362,6 @@ gdb_cmd_write_mem(unsigned long addr, un
    1.13  static void
    1.14  gdbstub_attach(struct gdb_context *ctx)
    1.15  {
    1.16 -    static void gdbstub_console_puts(const char *str);
    1.17      if ( ctx->currently_attached )
    1.18          return;    
    1.19      ctx->currently_attached = 1;