summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2011-05-18 12:28:33 +0300
committerMartin Storsjo <martin@martin.st>2012-02-24 23:07:49 +0200
commit1ead790eadd0e09a118308caccc7ac37d36f43f3 (patch)
tree0f7847184a1c166a4ce1dfe402e0b50d0386c8f6 /media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
parentd95a8462c367a7bea1b4aee24917d3e9ed7e2a48 (diff)
downloadframeworks_av-1ead790eadd0e09a118308caccc7ac37d36f43f3.zip
frameworks_av-1ead790eadd0e09a118308caccc7ac37d36f43f3.tar.gz
frameworks_av-1ead790eadd0e09a118308caccc7ac37d36f43f3.tar.bz2
stagefright amrnb: Remove extern from table definitions
Local prototype declarations are added where no suitable ones are available in headers. This fixes warnings when compiling as C - while the source files are named .cpp, they actually are compileable as pure C. This was committed on the master branch of the opencore repository in commit a0acb494ea6682ca966b5ebbd3676c89c56d63a6, based on AOSP contribution 10303. Change-Id: Ib4e27ea30302c66e0233e63e5a4652f6339bc940
Diffstat (limited to 'media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp')
-rw-r--r--media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp b/media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
index e5d42d6..c4a016d 100644
--- a/media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
+++ b/media/libstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
@@ -81,7 +81,7 @@ extern "C"
; LOCAL VARIABLE DEFINITIONS
; [Variable declaration - defined here and used outside this module]
----------------------------------------------------------------------------*/
- extern const Word32 overflow_tbl [32] = {0x7fffffffL, 0x3fffffffL,
+ const Word32 overflow_tbl [32] = {0x7fffffffL, 0x3fffffffL,
0x1fffffffL, 0x0fffffffL,
0x07ffffffL, 0x03ffffffL,
0x01ffffffL, 0x00ffffffL,