forked from auracaster/openocd
Make #include guard naming consistent
Change-Id: Ie13e8af0bb74ed290f811dcad64ad06c9d8cb4fa Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/2956 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
committed by
Andreas Fritiofson
parent
d0e763ac7e
commit
d4b7cbff88
@@ -1,5 +1,5 @@
|
||||
#ifndef _JSP_SERVER_H_
|
||||
#define _JSP_SERVER_H_
|
||||
#ifndef OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
|
||||
#define OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
|
||||
|
||||
#include "or1k_tap.h"
|
||||
#include "or1k.h"
|
||||
@@ -14,4 +14,4 @@ struct jsp_service {
|
||||
int jsp_init(struct or1k_jtag *jtag_info, char *banner);
|
||||
int jsp_register_commands(struct command_context *cmd_ctx);
|
||||
|
||||
#endif /* _JSP_SERVER_H_ */
|
||||
#endif /* OPENOCD_TARGET_OPENRISC_JSP_SERVER_H */
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef OR1K_H
|
||||
#define OR1K_H
|
||||
#ifndef OPENOCD_TARGET_OPENRISC_OR1K_H
|
||||
#define OPENOCD_TARGET_OPENRISC_OR1K_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -155,4 +155,4 @@ enum or1k_debug_reg_nums {
|
||||
*/
|
||||
#define OR1K_ICBIR_CPU_REG_ADD ((4 << 11) + 2) /* IC Block Invalidate Register 0x2002 */
|
||||
|
||||
#endif
|
||||
#endif /* OPENOCD_TARGET_OPENRISC_OR1K_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef OR1K_DU
|
||||
#define OR1K_DU
|
||||
#ifndef OPENOCD_TARGET_OPENRISC_OR1K_DU_H
|
||||
#define OPENOCD_TARGET_OPENRISC_OR1K_DU_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -75,5 +75,4 @@ int or1k_adv_jtag_jsp_xfer(struct or1k_jtag *jtag_info,
|
||||
int *out_len, unsigned char *out_buffer,
|
||||
int *in_len, unsigned char *in_buffer);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* OPENOCD_TARGET_OPENRISC_OR1K_DU_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _OR1K_TAP_H_
|
||||
#define _OR1K_TAP_H_
|
||||
#ifndef OPENOCD_TARGET_OPENRISC_OR1K_TAP_H
|
||||
#define OPENOCD_TARGET_OPENRISC_OR1K_TAP_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -39,4 +39,4 @@ struct or1k_tap_ip {
|
||||
const char *name;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* OPENOCD_TARGET_OPENRISC_OR1K_TAP_H */
|
||||
|
||||
Reference in New Issue
Block a user