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
commit8387f1fb70a4161b7581d3c0da52c4810df655be (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs/libxml
parent684ac31120ef65e34ba32b0324c42a4f921a14c4 (diff)
downloadydb-8387f1fb70a4161b7581d3c0da52c4810df655be.tar.gz
Restoring authorship annotation for <massaraksh@yandex-team.ru>. Commit 2 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 ce4d534177..63febfb00c 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 69541b6c3f..459a806e8e 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 ff57844cf9..eab92ea13f 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
+