packaging: fix build error by Werror 91/109091/1 accepted/tizen/common/20170109.202413 accepted/tizen/ivi/20170109.084405 accepted/tizen/mobile/20170109.084306 accepted/tizen/tv/20170109.084324 accepted/tizen/wearable/20170109.084345 submit/tizen/20170109.021416
authorJiyong Min <jiyong.min@samsung.com>
Mon, 9 Jan 2017 00:49:45 +0000 (09:49 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 9 Jan 2017 00:50:37 +0000 (09:50 +0900)
commit15c5143166cd9453dd39ec8a587a58efa072bfea
tree5583375b546eb602765cf766db0cbac8dc3923a8
parent945fb6a89e4aa918cdf327b5348d1287c46eae8b
packaging: fix build error by Werror

Different semantics for inline functions

While -std=gnu89 employs the GNU89 inline semantics, -std=gnu11 uses the
C99 inline semantics. The C99 inline semantics requires that if a
function with external linkage is declared with inline function
specifier, it also has to be defined in the same translation unit (TU).
Consequently, GCC now warns if it sees a TU such as the following:

  inline int foo (void);
  This example now gives the following diagnostic:

  f.c:1:12: warning: inline function 'foo' declared but never defined
    inline int foo (void);

Change-Id: I01405d2b7820e32400d5ec193c073c7ce6e1a50a
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
packaging/libmm-fileinfo.spec