summaryrefslogtreecommitdiff
path: root/core/fdrm/crypto/fx_crypt.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-03 16:48:53 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-04 00:14:05 +0000
commitbb4a1bc09f92f781deefae5dc187fef21d6957fd (patch)
tree8da1748ec743998ab63546eb62ef0156ed91582c /core/fdrm/crypto/fx_crypt.h
parent7b9d82312413a3cd2dc7422313bb634eaa687a87 (diff)
downloadpdfium-bb4a1bc09f92f781deefae5dc187fef21d6957fd.tar.xz
Drop C linkage in fx_crypt code.
Move as much as possible into anonymous namespaces. BUG=pdfium:388 Change-Id: I7cca042736372c52105ed2ef1f9945a8d72c3db2 Reviewed-on: https://pdfium-review.googlesource.com/3557 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fdrm/crypto/fx_crypt.h')
-rw-r--r--core/fdrm/crypto/fx_crypt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/fdrm/crypto/fx_crypt.h b/core/fdrm/crypto/fx_crypt.h
index a498f4e19b..cfbe119ddb 100644
--- a/core/fdrm/crypto/fx_crypt.h
+++ b/core/fdrm/crypto/fx_crypt.h
@@ -9,10 +9,6 @@
#include "core/fxcrt/fx_system.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct {
int32_t x;
int32_t y;
@@ -109,8 +105,5 @@ void CRYPT_SHA512Finish(void* context, uint8_t digest[64]);
void CRYPT_SHA512Generate(const uint8_t* data,
uint32_t size,
uint8_t digest[64]);
-#ifdef __cplusplus
-};
-#endif
#endif // CORE_FDRM_CRYPTO_FX_CRYPT_H_