Skip to content

Commit 67d536a

Browse files
committed
stagefright amrnb: Add missing const qualifier to table declarations in headers
This was committed on the master branch of the opencore repository in commit 5ce7a6fdf125116ffce2e692e14eafef1c807628, based on AOSP contribution 10301. Change-Id: Ie32b32c7407f449e382c0b4fd2d60a664e0daa33
1 parent 6a300a5 commit 67d536a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

media/libstagefright/codecs/amrnb/common/include/az_lsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ extern "C"
8383
; EXTERNAL VARIABLES REFERENCES
8484
; Declare variables used in this module but defined elsewhere
8585
----------------------------------------------------------------------------*/
86-
extern Word16 grid[];
86+
extern const Word16 grid[];
8787

8888
/*----------------------------------------------------------------------------
8989
; SIMPLE TYPEDEF'S

media/libstagefright/codecs/amrnb/common/include/inv_sqrt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ extern "C"
8585
; EXTERNAL VARIABLES REFERENCES
8686
; Declare variables used in this module but defined elsewhere
8787
----------------------------------------------------------------------------*/
88-
extern Word16 inv_sqrt_tbl[];
88+
extern const Word16 inv_sqrt_tbl[];
8989
/*----------------------------------------------------------------------------
9090
; SIMPLE TYPEDEF'S
9191
----------------------------------------------------------------------------*/

media/libstagefright/codecs/amrnb/common/include/log2_norm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ extern "C"
8585
; EXTERNAL VARIABLES REFERENCES
8686
; Declare variables used in this module but defined elsewhere
8787
----------------------------------------------------------------------------*/
88-
extern Word16 log2_tbl[];
88+
extern const Word16 log2_tbl[];
8989
/*----------------------------------------------------------------------------
9090
; SIMPLE TYPEDEF'S
9191
----------------------------------------------------------------------------*/

media/libstagefright/codecs/amrnb/common/include/pow2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extern "C"
8181
; EXTERNAL VARIABLES REFERENCES
8282
; Declare variables used in this module but defined elsewhere
8383
----------------------------------------------------------------------------*/
84-
extern Word16 pow2_tbl[];
84+
extern const Word16 pow2_tbl[];
8585
/*----------------------------------------------------------------------------
8686
; SIMPLE TYPEDEF'S
8787
----------------------------------------------------------------------------*/

media/libstagefright/codecs/amrnb/common/include/sqrt_l.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extern "C"
8282
; EXTERNAL VARIABLES REFERENCES
8383
; Declare variables used in this module but defined elsewhere
8484
----------------------------------------------------------------------------*/
85-
extern Word16 sqrt_l_tbl[];
85+
extern const Word16 sqrt_l_tbl[];
8686

8787
/*----------------------------------------------------------------------------
8888
; SIMPLE TYPEDEF'S

0 commit comments

Comments
 (0)