appletlib: avoid warning on unused function ingroup
authorCristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Mon, 2 Jan 2017 10:17:09 +0000 (11:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 3 Jan 2017 11:01:15 +0000 (12:01 +0100)
commitf1d76b64a0f9da5a6bd068fff0ac3dc66422a3ab
tree3ff868e7a2c490f5eb7b92a8cad420faf80dfcce
parentb05bcaf29c9008799aedb535cb42d2e60cc4cbb9
appletlib: avoid warning on unused function ingroup

libbb/appletlib.c:558:12: warning: 'ingroup' defined but
                                   not used [-Wunused-function]
 static int ingroup(uid_t u, gid_t g)
            ^~~~~~~

That function is used only if FEATURE_SUID_CONFIG is also enabled.

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/appletlib.c