aboutsummaryrefslogtreecommitdiffstats
path: root/utils/native-tools/bin2h.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/native-tools/bin2h.c')
-rw-r--r--utils/native-tools/bin2h.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/native-tools/bin2h.c b/utils/native-tools/bin2h.c
index d9f5eb9a..92f2b8a5 100644
--- a/utils/native-tools/bin2h.c
+++ b/utils/native-tools/bin2h.c
@@ -44,7 +44,7 @@ int main (int argc, char *argv[])
return EXIT_FAILURE;
}
- if (fprintf(output_file, "unsigned char %s[] = {", variable_name) < 0)
+ if (fprintf(output_file, "static const unsigned char %s[] = {", variable_name) < 0)
{
printf("Could not write to output file '%s': %s\n", output_name, strerror(ferror(output_file)));
return EXIT_FAILURE;