diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-09-26 08:34:52 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-09-26 08:34:52 +0100 |
commit | 7dd93351ebe5fb677f736e6c723efcb99b2d3c61 (patch) | |
tree | d4ec4d307a0b4b8f2fbb144b5669ae2dae2355f7 /xen/common/gdbstub.c | |
parent | 681ed1d454c1647d373492e737608498e1becf85 (diff) | |
download | xen-7dd93351ebe5fb677f736e6c723efcb99b2d3c61.tar.gz xen-7dd93351ebe5fb677f736e6c723efcb99b2d3c61.tar.bz2 xen-7dd93351ebe5fb677f736e6c723efcb99b2d3c61.zip |
Remove static forward declaration in gdbstub code.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/gdbstub.c')
-rw-r--r-- | xen/common/gdbstub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/common/gdbstub.c b/xen/common/gdbstub.c index 257547ed19..708357c56a 100644 --- a/xen/common/gdbstub.c +++ b/xen/common/gdbstub.c @@ -53,6 +53,8 @@ static char opt_gdb[30] = "none"; string_param("gdb", opt_gdb); +static void gdbstub_console_puts(const char *str); + /* value <-> char (de)serialzers */ char hex2char(unsigned long x) @@ -360,7 +362,6 @@ gdb_cmd_write_mem(unsigned long addr, unsigned long length, static void gdbstub_attach(struct gdb_context *ctx) { - static void gdbstub_console_puts(const char *str); if ( ctx->currently_attached ) return; ctx->currently_attached = 1; |