]> sigrok.org Git - libsigrok.git/commitdiff
Don't reference SR_PACKAGE_VERSION_STRING directly in backend.c.
authorMartin Ling <redacted>
Thu, 20 Sep 2018 20:12:28 +0000 (21:12 +0100)
committerGerhard Sittig <redacted>
Thu, 20 Dec 2018 18:12:34 +0000 (19:12 +0100)
Reporting build versus runtime versions makes sense for a client,
but not inside the library itself.

src/backend.c

index ef5cd260e280d426a20580cc64dbbfc46f4edaa6..1fbba5c1a5aff810839fc50606896e8b5b157783 100644 (file)
@@ -232,8 +232,7 @@ static void print_versions(void)
        char *str;
        const char *lib, *version;
 
-       sr_dbg("libsigrok %s/%s (rt: %s/%s).",
-               SR_PACKAGE_VERSION_STRING, SR_LIB_VERSION_STRING,
+       sr_dbg("libsigrok %s/%s.",
                sr_package_version_string_get(), sr_lib_version_string_get());
 
        s = g_string_sized_new(200);