From: Jens Axboe Date: Mon, 16 Apr 2012 07:52:22 +0000 (+0200) Subject: Get rid of fio_version.h X-Git-Tag: gfio-0.1~2^2~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=0922d61ffe92cf10a563d7168decec84ab7a0d16 Get rid of fio_version.h Signed-off-by: Jens Axboe --- diff --git a/client.c b/client.c index ee6765ed..0ce7a6eb 100644 --- a/client.c +++ b/client.c @@ -816,9 +816,9 @@ static void handle_probe(struct fio_client *client, struct fio_net_cmd *cmd) sprintf(bit, "%d-bit", probe->bpp * 8); - log_info("hostname=%s, be=%u, %s, os=%s, arch=%s, fio=%u.%u.%u\n", + log_info("hostname=%s, be=%u, %s, os=%s, arch=%s, fio=%s\n", probe->hostname, probe->bigendian, bit, os, arch, - probe->fio_major, probe->fio_minor, probe->fio_patch); + probe->fio_version); if (!client->name) client->name = strdup((char *) probe->hostname); diff --git a/fio_version.h b/fio_version.h deleted file mode 100644 index 34b57844..00000000 --- a/fio_version.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef FIO_VERSION_H -#define FIO_VERSION_H - -#define FIO_MAJOR 2 -#define FIO_MINOR 0 -#define FIO_PATCH 7 - -#endif diff --git a/init.c b/init.c index 1eea800c..3865d099 100644 --- a/init.c +++ b/init.c @@ -23,8 +23,6 @@ #include "lib/getopt.h" -#include "fio_version.h" - const char fio_version_string[] = FIO_VERSION; #define FIO_RANDSEED (0xb1899bedUL) diff --git a/os/windows/install.wxs b/os/windows/install.wxs index d3d683e7..18091bee 100755 --- a/os/windows/install.wxs +++ b/os/windows/install.wxs @@ -10,7 +10,7 @@ + UpgradeCode="{2338A332-5511-43cf-b9BD-5C60496CCFCC}" Version="$(env.FIO_VERSION)">