summaryrefslogtreecommitdiffstats
path: root/src/debugpred.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debugpred.h')
-rw-r--r--src/debugpred.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debugpred.h b/src/debugpred.h
index 867f4ace..41d46796 100644
--- a/src/debugpred.h
+++ b/src/debugpred.h
@@ -30,7 +30,7 @@
extern const unsigned long int __start_predict_data;
extern const unsigned long int __stop_predict_data;
extern const unsigned long int __start_predict_line;
-extern const char *__start_predict_file;
+extern const char *const __start_predict_file;
static void
__attribute__ ((destructor))
@@ -39,7 +39,7 @@ predprint (void)
const unsigned long int *s = &__start_predict_data;
const unsigned long int *e = &__stop_predict_data;
const unsigned long int *sl = &__start_predict_line;
- const char **sf = &__start_predict_file;
+ const char *const *sf = &__start_predict_file;
while (s < e)
{
if (s[0] != 0 || s[1] != 0)