X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fprint_version.c;h=72233908270892025e4a150e304cd0a94152d7ca;hp=28ce0c9a075e168a8a5430553aa052a9ea8d360d;hb=ee8d01d64e8832304256de53db07228e2be67f6a;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1 diff --git a/sbr/print_version.c b/sbr/print_version.c index 28ce0c9..7223390 100644 --- a/sbr/print_version.c +++ b/sbr/print_version.c @@ -1,16 +1,19 @@ /* - * print_version.c -- print a version string - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ +** print_version.c -- print a version string +** +** This code is Copyright (c) 2002, by the authors of nmh. See the +** COPYRIGHT file in the root directory of the nmh distribution for +** complete copyright information. +*/ #include void -print_version (char *invo_name) +print_version(char *invo_name) { - printf("%s -- %s\n", invo_name, version_str); + printf("%s -- %s\n", invo_name, version); + if (strcmp(version, lib_version)!=0) { + printf("libversion: %s\n", lib_version); + } }