X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook-flags.c;h=9a7cf6e952c0d78f65973cf2184ecb8a49564961;hb=e80c1a7ae27456d546e202b1c498e9337d42ce14;hp=87b8dcf3aaeb02ecea8d7d051f6cf02d0d5b4543;hpb=043c27c3a8fd323d59e41288b6fd24f0e9bfa9a3;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hook-flags.c b/src/afb-hook-flags.c index 87b8dcf3..9a7cf6e9 100644 --- a/src/afb-hook-flags.c +++ b/src/afb-hook-flags.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_AFB_HOOK /***********************************************************/ + #define _GNU_SOURCE #include @@ -138,7 +140,6 @@ static struct flag session_flags[] = { /* must be sorted by names */ { "common", afb_hook_flags_session_common }, { "create", afb_hook_flag_session_create }, { "destroy", afb_hook_flag_session_destroy }, - { "renew", afb_hook_flag_session_renew }, { "unref", afb_hook_flag_session_unref }, }; @@ -358,3 +359,4 @@ char *afb_hook_flags_legacy_svc_to_text(int value) } #endif +#endif /* WITH_AFB_HOOK *******************************************************/