diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/svnversion/svnversion.cpp | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/svnversion/svnversion.cpp')
-rw-r--r-- | library/cpp/svnversion/svnversion.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/svnversion/svnversion.cpp b/library/cpp/svnversion/svnversion.cpp index 4c9761fa75..1e9fc97668 100644 --- a/library/cpp/svnversion/svnversion.cpp +++ b/library/cpp/svnversion/svnversion.cpp @@ -2,8 +2,8 @@ #include <stdlib.h> #include <stdio.h> -#define FROM_IMPL -#include "svnversion.h" +#define FROM_IMPL +#include "svnversion.h" #include <util/generic/strbuf.h> @@ -16,18 +16,18 @@ extern "C" void PrintSvnVersionAndExit0() { exit(0); } -extern "C" void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) { +extern "C" void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) { if (2 == argc) { - for (TStringBuf all = opts, versionOpt; all.NextTok(';', versionOpt);) { + for (TStringBuf all = opts, versionOpt; all.NextTok(';', versionOpt);) { if (versionOpt == argv[1]) { PrintSvnVersionAndExit0(); } } } } - -extern "C" void PrintSvnVersionAndExit(int argc, char* argv[]) { + +extern "C" void PrintSvnVersionAndExit(int argc, char* argv[]) { PrintSvnVersionAndExitEx(argc, argv, "--version"); } -#undef FROM_IMPL +#undef FROM_IMPL |