Fix MISRA rule 8.4 in common code
[project/bcm63xx/atf.git] / lib / stdlib / abort.c
1 /*
2 * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <debug.h>
8 #include <stdlib.h>
9
10 /*
11 * This is a basic implementation. This could be improved.
12 */
13 void abort (void)
14 {
15 ERROR("ABORT\n");
16 panic();
17 }