[PATCH 06/10] i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning

Joel Sherrill joel at rtems.org
Wed Jun 21 17:52:13 UTC 2017


---
 c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c b/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c
index d47d057..b11d960 100644
--- a/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c
+++ b/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c
@@ -71,7 +71,7 @@ __asm__ ("    movl  i386_gdb_uart_isr_regsav, %eax");        /* Restore eax */
 __asm__ ("    iret");                                        /* Done */
 
 static int gdb_hello_index;
-static const char const* gdb_hello = "+";
+static const char *const gdb_hello = "+";
 
 static inline uint8_t BSP_i8259a_irq_in_service_reg(uint32_t ioport)
 {
-- 
1.8.3.1




More information about the devel mailing list