From fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 3 Jul 2016 10:09:36 +0200 Subject: Mark some arrays that never change as const. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index a2223022cb..64c077465d 100755 --- a/configure +++ b/configure @@ -5414,7 +5414,7 @@ print_enabled_components(){ struct_name=$2 name=$3 shift 3 - echo "static const $struct_name *$name[] = {" > $TMPH + echo "static const $struct_name * const $name[] = {" > $TMPH for c in $*; do enabled $c && printf " &ff_%s,\n" $c >> $TMPH done -- cgit v1.2.3