[rtems commit] i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning
Joel Sherrill
joel at rtems.org
Thu Jun 22 14:04:33 UTC 2017
Module: rtems
Branch: master
Commit: ec230fc77f25487d4d6455f656b4e385d4786d99
Changeset: http://git.rtems.org/rtems/commit/?id=ec230fc77f25487d4d6455f656b4e385d4786d99
Author: Joel Sherrill <joel at rtems.org>
Date: Thu Jun 15 12:40:25 2017 -0500
i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning
---
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)
{
More information about the vc
mailing list