Bug 929404: Mark unused-depending-on-build-config function as 'inline' instead of 'static'. r=derf
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 23 Oct 2013 08:20:54 +0200
changeset 151754 9a2fa71f26572444800d10741bc5fe528b5a35de
parent 151753 9d86e7b4520804b84224a9b862a0a1a388beb1a7
child 151755 d9a536ae43b0a60052d2630440dca16e8c3c36af
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersderf
bugs929404
milestone27.0a1
Bug 929404: Mark unused-depending-on-build-config function as 'inline' instead of 'static'. r=derf
content/media/ogg/OggCodecState.cpp
--- a/content/media/ogg/OggCodecState.cpp
+++ b/content/media/ogg/OggCodecState.cpp
@@ -57,17 +57,17 @@ static int64_t LEInt64(const unsigned ch
 
 // Reads a little-endian encoded unsigned 16bit integer at p.
 static uint16_t LEUint16(const unsigned char* p)
 {
   return p[0] + (p[1] << 8);
 }
 
 // Reads a little-endian encoded signed 16bit integer at p.
-static int16_t LEInt16(const unsigned char* p)
+inline int16_t LEInt16(const unsigned char* p)
 {
   return static_cast<int16_t>(LEUint16(p));
 }
 
 /** Decoder base class for Ogg-encapsulated streams. */
 OggCodecState*
 OggCodecState::Create(ogg_page* aPage)
 {