From 1f77a1d2a199f81093633c8cd6aedf816b412bcb Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 13 Dec 2021 21:55:06 +0100 Subject: [PATCH] add tlsf_block_functions.h and tlsf_common.h files --- tlsf.c | 8 +------- tlsf.h | 8 +------- tlsf_block_functions.h | 15 +++++++++++++++ tlsf_common.h | 15 +++++++++++++++ 4 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 tlsf_block_functions.h create mode 100644 tlsf_common.h diff --git a/tlsf.c b/tlsf.c index 3e60ec3..4f1dfdb 100644 --- a/tlsf.c +++ b/tlsf.c @@ -1,12 +1,6 @@ /* - * SPDX-FileCopyrightText: 2006-2016 Matthew Conte, 2015-2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2006-2016 Matthew Conte * - * Written by Matthew Conte - * http://tlsf.baisoku.org - * - * Based on the original documentation by Miguel Masmano: - * http://www.gii.upv.es/tlsf/main/docs - * * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/tlsf.h b/tlsf.h index 0dc8934..d7ca958 100644 --- a/tlsf.h +++ b/tlsf.h @@ -1,12 +1,6 @@ /* - * SPDX-FileCopyrightText: 2006-2016 Matthew Conte, 2015-2022 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2006-2016 Matthew Conte * - * Written by Matthew Conte - * http://tlsf.baisoku.org - * - * Based on the original documentation by Miguel Masmano: - * http://www.gii.upv.es/tlsf/main/docs - * * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/tlsf_block_functions.h b/tlsf_block_functions.h new file mode 100644 index 0000000..5fa29fd --- /dev/null +++ b/tlsf_block_functions.h @@ -0,0 +1,15 @@ +/* + * SPDX-FileCopyrightText: 2006-2016 Matthew Conte + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#pragma once + +#if defined(__cplusplus) +extern "C" { +#endif + +#if defined(__cplusplus) +}; +#endif diff --git a/tlsf_common.h b/tlsf_common.h new file mode 100644 index 0000000..5fa29fd --- /dev/null +++ b/tlsf_common.h @@ -0,0 +1,15 @@ +/* + * SPDX-FileCopyrightText: 2006-2016 Matthew Conte + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#pragma once + +#if defined(__cplusplus) +extern "C" { +#endif + +#if defined(__cplusplus) +}; +#endif