From c61ddb2089c9d07ed6e9241620d5dc14c6134110 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Mon, 23 Oct 2023 19:18:50 +0100 Subject: [PATCH] Add C language annotation to code block Signed-off-by: David Horstmann --- docs/architecture/psa-shared-memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/architecture/psa-shared-memory.md b/docs/architecture/psa-shared-memory.md index f0f27811cd..5ae3ecbbe3 100644 --- a/docs/architecture/psa-shared-memory.md +++ b/docs/architecture/psa-shared-memory.md @@ -298,7 +298,7 @@ Proposed general idea: in test code, “poison” the memory area used by input In the library, the code that does the copying temporarily unpoisons the memory by calling a test hook. -``` +```c static void copy_to_user(void *copy_buffer, void *const input_buffer, size_t length) { #if defined(MBEDTLS_TEST_HOOKS) if (mbedtls_psa_core_poison_memory != NULL) {