Fix build error for upgrading toolchain 50/104750/3 accepted/tizen/common/20161219.151901 accepted/tizen/common/20170111.155032 accepted/tizen/ivi/20161219.021816 accepted/tizen/mobile/20161219.021805 accepted/tizen/tv/20161219.021810 accepted/tizen/wearable/20161219.021813 submit/tizen/20161216.095153 submit/tizen/20161216.102827 submit/tizen_common/20170111.150147
authorInkyun Kil <inkyun.kil@samsung.com>
Wed, 14 Dec 2016 07:52:32 +0000 (16:52 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Fri, 16 Dec 2016 08:17:26 +0000 (17:17 +0900)
commitba0178b105de7dc777a363c8f1d9e0849aa2370e
treeb09f978b45acf399a15da9271aba11ff19b0d712
parent55deb3bccae2f3d41e8b6e3038b63d046f60edbb
Fix build error for upgrading toolchain

'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'.

Different semantics for inline functions
While -std=gnu89 employs the GNU89 inline semantics, -std=gnu11 uses the
C99 inline semantics.
For further informaion, please refer to
'https://gcc.gnu.org/gcc-5/porting_to.html'

Remove unused function.

Change-Id: I0891770a16d91ee1fec75e3f2c1a48cc4c5fe6e3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
include/app_preference_internal.h
preference/preference.c