aboutsummaryrefslogtreecommitdiff
path: root/components/messaging/ffa/libsp/include/sp_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/messaging/ffa/libsp/include/sp_api.h')
-rw-r--r--components/messaging/ffa/libsp/include/sp_api.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/components/messaging/ffa/libsp/include/sp_api.h b/components/messaging/ffa/libsp/include/sp_api.h
index e188560..3c432bb 100644
--- a/components/messaging/ffa/libsp/include/sp_api.h
+++ b/components/messaging/ffa/libsp/include/sp_api.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/*
- * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
*/
#ifndef LIBSP_INCLUDE_SP_API_H_
@@ -10,6 +10,10 @@
#include "compiler.h" // for __noreturn
#include "ffa_api.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Interface for the SP implementation
*/
@@ -30,4 +34,8 @@ void sp_interrupt_handler(uint32_t interrupt_id);
*/
void __noreturn sp_main(struct ffa_init_info *init_info);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBSP_INCLUDE_SP_API_H_ */