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 165569 9a2fa71f26572444800d10741bc5fe528b5a35de
parent 165568 9d86e7b4520804b84224a9b862a0a1a388beb1a7
child 165570 d9a536ae43b0a60052d2630440dca16e8c3c36af
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersderf
bugs929404
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)
 {