[PATCH 03/10] capture/rtems-trace-buffer-vars.c: Fix duplicate const warning
Joel Sherrill
joel at rtems.org
Wed Jun 21 17:52:10 UTC 2017
---
cpukit/libmisc/capture/rtems-trace-buffer-vars.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libmisc/capture/rtems-trace-buffer-vars.c b/cpukit/libmisc/capture/rtems-trace-buffer-vars.c
index 3d31115..b0f7070 100644
--- a/cpukit/libmisc/capture/rtems-trace-buffer-vars.c
+++ b/cpukit/libmisc/capture/rtems-trace-buffer-vars.c
@@ -19,7 +19,7 @@
* Trace linker data.
*/
uint32_t __rtld_trace_names_size __attribute__ ((weak));
-const char const* __rtld_trace_names[1] __attribute__ ((weak));
+const char *const __rtld_trace_names[1] __attribute__ ((weak));
uint32_t __rtld_trace_enables_size __attribute__ ((weak));
const uint32_t __rtld_trace_enables[1] __attribute__ ((weak));
uint32_t __rtld_trace_triggers_size __attribute__ ((weak));
--
1.8.3.1
More information about the devel
mailing list