arm_adi_v5: prevent possibly endless recursion in dap_dp_init()
[fw/openocd] / src / target / openrisc / jsp_server.h
index 3e7c1145def19b0740ef8ca3e586f37cfc43e578..e5cfaa8b4695e4b2ee6167f8da3372d3100d094e 100644 (file)
@@ -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"
@@ -13,5 +13,6 @@ struct jsp_service {
 
 int jsp_init(struct or1k_jtag *jtag_info, char *banner);
 int jsp_register_commands(struct command_context *cmd_ctx);
+void jsp_service_free(void);
 
-#endif /* _JSP_SERVER_H_ */
+#endif /* OPENOCD_TARGET_OPENRISC_JSP_SERVER_H */