diff options
author | dvshkurko <dvshkurko@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
commit | c768a99151e47c3a4bb7b92c514d256abd301c4d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/scripts/c_templates/svnversion.h | |
parent | 321ee9bce31ec6e238be26dbcbe539cffa2c3309 (diff) | |
download | ydb-c768a99151e47c3a4bb7b92c514d256abd301c4d.tar.gz |
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/c_templates/svnversion.h')
-rw-r--r-- | build/scripts/c_templates/svnversion.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/build/scripts/c_templates/svnversion.h b/build/scripts/c_templates/svnversion.h index 3cc1adab35..7aece931aa 100644 --- a/build/scripts/c_templates/svnversion.h +++ b/build/scripts/c_templates/svnversion.h @@ -1,42 +1,42 @@ -#pragma once - -// Permit compilation with NO_UTIL(): -// util/system/compiler.h -#if !defined(Y_HIDDEN) -#if defined(__GNUC__) -#define Y_HIDDEN __attribute__((visibility("hidden"))) -#else -#define Y_HIDDEN -#endif -#endif - -#if defined(__cplusplus) -extern "C" { -#endif -const char* GetProgramSvnVersion() Y_HIDDEN; // verbose multiline message -void PrintProgramSvnVersion() Y_HIDDEN; -const char* GetArcadiaSourcePath() Y_HIDDEN; // "/home/myltsev/arcadia" -const char* GetArcadiaSourceUrl() Y_HIDDEN; // "svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia" -const char* GetArcadiaLastChange() Y_HIDDEN; // "2902074" -int GetArcadiaLastChangeNum() Y_HIDDEN; // 2902074 -const char* GetArcadiaLastAuthor() Y_HIDDEN; // "dieash" -int GetProgramSvnRevision() Y_HIDDEN; // 2902074 +#pragma once + +// Permit compilation with NO_UTIL(): +// util/system/compiler.h +#if !defined(Y_HIDDEN) +#if defined(__GNUC__) +#define Y_HIDDEN __attribute__((visibility("hidden"))) +#else +#define Y_HIDDEN +#endif +#endif + +#if defined(__cplusplus) +extern "C" { +#endif +const char* GetProgramSvnVersion() Y_HIDDEN; // verbose multiline message +void PrintProgramSvnVersion() Y_HIDDEN; +const char* GetArcadiaSourcePath() Y_HIDDEN; // "/home/myltsev/arcadia" +const char* GetArcadiaSourceUrl() Y_HIDDEN; // "svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia" +const char* GetArcadiaLastChange() Y_HIDDEN; // "2902074" +int GetArcadiaLastChangeNum() Y_HIDDEN; // 2902074 +const char* GetArcadiaLastAuthor() Y_HIDDEN; // "dieash" +int GetProgramSvnRevision() Y_HIDDEN; // 2902074 const char* GetVCSDirty() Y_HIDDEN; -const char* GetProgramHash() Y_HIDDEN; -const char* GetProgramCommitId() Y_HIDDEN; -void PrintSvnVersionAndExit(int argc, char* argv[]) Y_HIDDEN; -void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) Y_HIDDEN; -void PrintSvnVersionAndExit0() Y_HIDDEN; -const char* GetProgramScmData() Y_HIDDEN; // verbose multiline message +const char* GetProgramHash() Y_HIDDEN; +const char* GetProgramCommitId() Y_HIDDEN; +void PrintSvnVersionAndExit(int argc, char* argv[]) Y_HIDDEN; +void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) Y_HIDDEN; +void PrintSvnVersionAndExit0() Y_HIDDEN; +const char* GetProgramScmData() Y_HIDDEN; // verbose multiline message const char* GetProgramShortVersionData() Y_HIDDEN; -const char* GetProgramBuildUser() Y_HIDDEN; -const char* GetProgramBuildHost() Y_HIDDEN; -const char* GetProgramBuildDate() Y_HIDDEN; +const char* GetProgramBuildUser() Y_HIDDEN; +const char* GetProgramBuildHost() Y_HIDDEN; +const char* GetProgramBuildDate() Y_HIDDEN; int GetProgramBuildTimestamp() Y_HIDDEN; -const char* GetVCS() Y_HIDDEN; -const char* GetBranch() Y_HIDDEN; -const char* GetTag() Y_HIDDEN; -int GetArcadiaPatchNumber() Y_HIDDEN; -#if defined(__cplusplus) -} -#endif +const char* GetVCS() Y_HIDDEN; +const char* GetBranch() Y_HIDDEN; +const char* GetTag() Y_HIDDEN; +int GetArcadiaPatchNumber() Y_HIDDEN; +#if defined(__cplusplus) +} +#endif |