summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-05 13:22:36 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-05 19:02:53 +0000
commit6c902e62e23fd6d2baf06078c94085fe755c36d6 (patch)
treeedee86d0413eeecaf0ea83e330a11c49886945bb /core/fxcrt
parent1eae16d3b17d6b396969ecf81f6546f5a1d72dfd (diff)
downloadpdfium-6c902e62e23fd6d2baf06078c94085fe755c36d6.tar.xz
Rename fx_rand to fx_random
Match FX_Random method names. Change-Id: I2d178229563881479b80e1f86975f5b165475837 Reviewed-on: https://pdfium-review.googlesource.com/13093 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_guid.cpp2
-rw-r--r--core/fxcrt/fx_random.cpp (renamed from core/fxcrt/fx_rand.cpp)2
-rw-r--r--core/fxcrt/fx_random.h (renamed from core/fxcrt/fx_rand.h)6
3 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcrt/fx_guid.cpp b/core/fxcrt/fx_guid.cpp
index 6f130f9d46..4d3a4e9a5f 100644
--- a/core/fxcrt/fx_guid.cpp
+++ b/core/fxcrt/fx_guid.cpp
@@ -7,7 +7,7 @@
#include "core/fxcrt/fx_guid.h"
#include "core/fxcrt/fx_extension.h"
-#include "core/fxcrt/fx_rand.h"
+#include "core/fxcrt/fx_random.h"
void FX_GUID_CreateV4(FX_GUID* pGUID) {
FX_Random_GenerateMT((uint32_t*)pGUID, 4);
diff --git a/core/fxcrt/fx_rand.cpp b/core/fxcrt/fx_random.cpp
index 7a0c3e4d9b..4d8fc0efcf 100644
--- a/core/fxcrt/fx_rand.cpp
+++ b/core/fxcrt/fx_random.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fxcrt/fx_rand.h"
+#include "core/fxcrt/fx_random.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_string.h"
diff --git a/core/fxcrt/fx_rand.h b/core/fxcrt/fx_random.h
index db5f48fee3..c07ef797cf 100644
--- a/core/fxcrt/fx_rand.h
+++ b/core/fxcrt/fx_random.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FXCRT_FX_RAND_H_
-#define CORE_FXCRT_FX_RAND_H_
+#ifndef CORE_FXCRT_FX_RANDOM_H_
+#define CORE_FXCRT_FX_RANDOM_H_
#include <stdint.h>
@@ -15,4 +15,4 @@ uint32_t FX_Random_MT_Generate(void* pContext);
void FX_Random_GenerateBase(uint32_t* pBuffer, int32_t iCount);
void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount);
-#endif // CORE_FXCRT_FX_RAND_H_
+#endif // CORE_FXCRT_FX_RANDOM_H_