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 /util/system/progname.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/progname.h')
-rw-r--r-- | util/system/progname.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/system/progname.h b/util/system/progname.h index e5e2a0eee2..4cb2189556 100644 --- a/util/system/progname.h +++ b/util/system/progname.h @@ -1,13 +1,13 @@ #pragma once - + #include <util/generic/fwd.h> + +void SetProgramName(const char* argv0); -void SetProgramName(const char* argv0); - -#define SAVE_PROGRAM_NAME \ - do { \ - SetProgramName(argv[0]); \ - } while (0) +#define SAVE_PROGRAM_NAME \ + do { \ + SetProgramName(argv[0]); \ + } while (0) /// guaranted return the same immutable instance of TString const TString& GetProgramName(); |