[rtems commit] capture/rtems-trace-buffer-vars.c: Fix duplicate const warning
Joel Sherrill
joel at rtems.org
Thu Jun 22 14:04:32 UTC 2017
Module: rtems
Branch: master
Commit: 9761b98dcc1ed98c5dfff0e2824ba4326d9bc933
Changeset: http://git.rtems.org/rtems/commit/?id=9761b98dcc1ed98c5dfff0e2824ba4326d9bc933
Author: Joel Sherrill <joel at rtems.org>
Date: Mon Jun 12 11:49:10 2017 -0500
capture/rtems-trace-buffer-vars.c: Fix duplicate const warning
---
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));
More information about the vc
mailing list