openocd/src/openocd.h
Antonio Borneo b86f296ac6 openocd: src: replace the GPL-2.0-or-later license tag
Replace the FSF boilerplate with the SPDX tag.

The SPDX tag on files *.c is incorrect, as it should use the C99
single line comment using '//'. But current checkpatch doesn't
allow C99 comments, so keep using standard C comments, by now.

Change-Id: I30cd66ac7d737f1973c68fdbb841ffcf00e917c4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7072
Tested-by: jenkins
2022-07-23 13:59:13 +00:00

22 lines
779 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005 by Dominic Rath <Dominic.Rath@gmx.de> *
* Copyright (C) 2009 by Zachary T Welch <zw@superlucidity.net> *
***************************************************************************/
#ifndef OPENOCD_OPENOCD_H
#define OPENOCD_OPENOCD_H
/**
* Different applications can define this entry point to override
* the default openocd main function. On most systems, this will be
* defined in src/openocd.c.
* @param argc normally passed from main()
* @param argv normally passed from main()
* @returns return code for main()
*/
int openocd_main(int argc, char *argv[]);
#endif /* OPENOCD_OPENOCD_H */