sim: tweak static order on hw_glue_ports

GCC likes to warn when static comes after const:
dv-glue.c:191: warning: 'static' is not at beginning of declaration
This commit is contained in:
Mike Frysinger 2010-03-30 19:45:32 +00:00
parent dc41661593
commit 59db87ade3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-03-30 Mike Frysinger <vapier@gentoo.org>
* dv-glue.c (hw_glue_ports): Swap static and const.
2010-03-30 Mike Frysinger <vapier@gentoo.org>
* nrun.c (usage): Use void in definition.

View File

@ -186,7 +186,7 @@ struct hw_glue {
static hw_io_read_buffer_method hw_glue_io_read_buffer;
static hw_io_write_buffer_method hw_glue_io_write_buffer;
static hw_port_event_method hw_glue_port_event;
const static struct hw_port_descriptor hw_glue_ports[];
static const struct hw_port_descriptor hw_glue_ports[];
static void
hw_glue_finish (struct hw *me)