summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorAllen Webb <allenwebb@google.com>2018-11-09 09:42:53 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-15 13:16:06 -0800
commit1c95cff7463ef29bd0c6d087ce8c3d7e17f94c6a (patch)
tree90de208cb94b874a8fc3a8a1f1082116e908cc48 /fuzz
parent268b07da45535033ae39240e958fc00386e37684 (diff)
downloadchrome-ec-1c95cff7463ef29bd0c6d087ce8c3d7e17f94c6a.tar.gz
cr50: Add extern "C" to headers used by future fuzzing target.
BRANCH=None BUG=None TEST=make -j buildall Change-Id: Icf2cfb6a2657064c10721c0e527d24fbb3be6ab3 Signed-off-by: Allen Webb <allenwebb@google.com> Reviewed-on: https://chromium-review.googlesource.com/1330102 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/cr50_fuzz.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/fuzz/cr50_fuzz.cc b/fuzz/cr50_fuzz.cc
index d73f8774cc..90b8350fc2 100644
--- a/fuzz/cr50_fuzz.cc
+++ b/fuzz/cr50_fuzz.cc
@@ -11,14 +11,12 @@
#include <cstdlib>
#include <cstring>
-extern "C" {
#define HIDE_EC_STDLIB
#include "fuzz_config.h"
#include "nvmem.h"
#include "nvmem_vars.h"
#include "persistence.h"
#include "pinweaver.h"
-}
#define NVMEM_TPM_SIZE ((sizeof((struct nvmem_partition *)0)->buffer) \
- NVMEM_CR50_SIZE)