Update copyright dates
[src/app-framework-binder.git] / src / afb-hook-flags.c
index 02ea3c8..712a4cd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+#if WITH_AFB_HOOK  /***********************************************************/
+
 #define _GNU_SOURCE
 
 #include <stdlib.h>
@@ -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 *******************************************************/