aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml
diff options
context:
space:
mode:
authormassaraksh <massaraksh@yandex-team.ru>2022-02-10 16:47:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:49 +0300
commit684ac31120ef65e34ba32b0324c42a4f921a14c4 (patch)
tree6093a65dfcdb2257725cd02840f65f5346f822f8 /contrib/libs/libxml
parent26922fe743f17dd1c12d5a4610a165bb8d11e3ef (diff)
downloadydb-684ac31120ef65e34ba32b0324c42a4f921a14c4.tar.gz
Restoring authorship annotation for <massaraksh@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libxml')
-rw-r--r--contrib/libs/libxml/dict.c4
-rw-r--r--contrib/libs/libxml/rand.cpp20
-rw-r--r--contrib/libs/libxml/rand.h30
3 files changed, 27 insertions, 27 deletions
diff --git a/contrib/libs/libxml/dict.c b/contrib/libs/libxml/dict.c
index 63febfb00c..ce4d534177 100644
--- a/contrib/libs/libxml/dict.c
+++ b/contrib/libs/libxml/dict.c
@@ -58,7 +58,7 @@ typedef unsigned __int32 uint32_t;
#include <libxml/xmlmemory.h>
#include <libxml/xmlerror.h>
#include <libxml/globals.h>
-#include "rand.h"
+#include "rand.h"
/* #define DEBUG_GROW */
/* #define DICT_DEBUG_PATTERNS */
@@ -185,7 +185,7 @@ int __xmlRandom(void) {
if (xmlDictInitialized == 0)
__xmlInitializeDict();
- return utilRandom();
+ return utilRandom();
}
#endif
diff --git a/contrib/libs/libxml/rand.cpp b/contrib/libs/libxml/rand.cpp
index 459a806e8e..69541b6c3f 100644
--- a/contrib/libs/libxml/rand.cpp
+++ b/contrib/libs/libxml/rand.cpp
@@ -1,10 +1,10 @@
-#include "rand.h"
-
-#include <cstdlib>
-#include <util/random/random.h>
-#include <util/system/types.h>
-
-int utilRandom() {
- return (int)RandomNumber((ui32)RAND_MAX);
-}
-
+#include "rand.h"
+
+#include <cstdlib>
+#include <util/random/random.h>
+#include <util/system/types.h>
+
+int utilRandom() {
+ return (int)RandomNumber((ui32)RAND_MAX);
+}
+
diff --git a/contrib/libs/libxml/rand.h b/contrib/libs/libxml/rand.h
index eab92ea13f..ff57844cf9 100644
--- a/contrib/libs/libxml/rand.h
+++ b/contrib/libs/libxml/rand.h
@@ -1,15 +1,15 @@
-#ifndef __XML_RAND_H__
-#define __XML_RAND_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int utilRandom();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
+#ifndef __XML_RAND_H__
+#define __XML_RAND_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int utilRandom();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+