blob: 7f36f25ae418becc082187b78d4278a5465e35d7 [file] [log] [blame]
Imre Kisef5c2642021-12-17 14:07:35 +01001/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved.
4 */
5
6#ifndef ASSERT_FAIL_HANDLER_H_
7#define ASSERT_FAIL_HANDLER_H_
8
9#include "compiler.h"
10
11/*
12 * Generic assert fail handler function definition. Should be implemented by the environment.
13 */
14void __noreturn assert_fail_handler(const char *file, int line,
15 const char *func, const char *failedexpr);
16
17#endif /* ASSERT_FAIL_HANDLER_H_ */