Browse Source

Restoring authorship annotation for <maximm@yandex-team.ru>. Commit 2 of 2.

maximm 3 years ago
parent
commit
5c97524791
2 changed files with 11 additions and 11 deletions
  1. 10 10
      library/cpp/svnversion/svnversion.cpp
  2. 1 1
      library/cpp/svnversion/svnversion.h

+ 10 - 10
library/cpp/svnversion/svnversion.cpp

@@ -5,8 +5,8 @@
 #define FROM_IMPL
 #include "svnversion.h"
 
-#include <util/generic/strbuf.h> 
- 
+#include <util/generic/strbuf.h>
+
 extern "C" void PrintProgramSvnVersion() {
     puts(GetProgramSvnVersion());
 }
@@ -17,17 +17,17 @@ extern "C" void PrintSvnVersionAndExit0() {
 }
 
 extern "C" void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) {
-    if (2 == argc) { 
+    if (2 == argc) {
         for (TStringBuf all = opts, versionOpt; all.NextTok(';', versionOpt);) {
-            if (versionOpt == argv[1]) { 
-                PrintSvnVersionAndExit0(); 
-            } 
-        } 
+            if (versionOpt == argv[1]) {
+                PrintSvnVersionAndExit0();
+            }
+        }
     }
 }
 
 extern "C" void PrintSvnVersionAndExit(int argc, char* argv[]) {
-    PrintSvnVersionAndExitEx(argc, argv, "--version"); 
-} 
- 
+    PrintSvnVersionAndExitEx(argc, argv, "--version");
+}
+
 #undef FROM_IMPL

+ 1 - 1
library/cpp/svnversion/svnversion.h

@@ -4,7 +4,7 @@
 #define PROGRAM_VERSION GetProgramSvnVersion()
 #define ARCADIA_SOURCE_PATH GetArcadiaSourcePath()
 #define PRINT_VERSION PrintSvnVersionAndExit(argc, (char**)argv)
-#define PRINT_VERSION_EX(opts) PrintSvnVersionAndExitEx(argc, (char**)argv, opts) 
+#define PRINT_VERSION_EX(opts) PrintSvnVersionAndExitEx(argc, (char**)argv, opts)
 #endif
 
 #include <util/system/compiler.h>