Skip to content

Commit 359d04d

Browse files
am11jkotas
andauthored
Apply suggestions from code review
Co-authored-by: Jan Kotas <[email protected]>
1 parent 40221e9 commit 359d04d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/native/libs/build-local.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ if [ -n "$EMBED_ICU_DATA_PATH" ]; then
1919
header="${INTERMEDIATE_OUTPUT_PATH}embedded_icu_data.h"
2020

2121
cat <<EOF > "$header"
22-
// Licensed to the .NET Foundation under one or more agreements.
23-
// The .NET Foundation licenses this file to you under the MIT license.
24-
2522
#ifndef EMBEDDED_ICU_DATA
2623
#define EMBEDDED_ICU_DATA
2724
28-
static unsigned char icu_data[] __attribute__((aligned(16))) = {
25+
static const unsigned char icu_data[] __attribute__((aligned(16))) = {
2926
$(od -An -vtx1 "$EMBED_ICU_DATA_PATH" | tr -d ' \n' | sed 's/\(..\)/0x\1, /g')
3027
};
3128

0 commit comments

Comments
 (0)