X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-args.c;fp=src%2Fafb-args.c;h=1dc2e6ca747f76484c892a4cc7a979e6d7419806;hb=ec0564bc90b3c63f7e82f09e81db8bd2cfac89a2;hp=2af77f3715da7d2dfe8bf31fbdda604ae9196062;hpb=2ba7c200c6c4844b63f8f707a6f04017661f16ca;p=src%2Fapp-framework-binder.git diff --git a/src/afb-args.c b/src/afb-args.c index 2af77f37..1dc2e6ca 100644 --- a/src/afb-args.c +++ b/src/afb-args.c @@ -381,7 +381,13 @@ static void printVersion(FILE * file) #else "-" #endif - "VDYN +V2 +V3]\n" + "VDYN " +#if WITH_LEGACY_BINDING_V2 + "+" +#else + "-" +#endif + "V2 +V3]\n" "\n", AFB_VERSION ); @@ -545,6 +551,7 @@ static int config_has_bool(struct json_object *config, int optid) && json_object_get_boolean(x); } +__attribute__((unused)) static int config_has_str(struct json_object *config, int optid, const char *val) { int i, n;