target/riscv: fix undefined operation
[fw/openocd] / src / openocd.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4  *   Copyright (C) 2005 by Dominic Rath <Dominic.Rath@gmx.de>              *
5  *   Copyright (C) 2009 by Zachary T Welch <zw@superlucidity.net>          *
6  ***************************************************************************/
7
8 #ifndef OPENOCD_OPENOCD_H
9 #define OPENOCD_OPENOCD_H
10
11 /**
12  * Different applications can define this entry point to override
13  * the default openocd main function.  On most systems, this will be
14  * defined in src/openocd.c.
15  * @param argc normally passed from main()
16  * @param argv normally passed from main()
17  * @returns return code for main()
18  */
19 int openocd_main(int argc, char *argv[]);
20
21 #endif /* OPENOCD_OPENOCD_H */