X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fxsvf%2Fxsvf.h;h=aa0f4f0404f7c7e6fa2a474e660e5cc31a45341c;hb=0f06d943366154963c6f5eb70f52e70f64fe5c71;hp=017af882ed6569c4991d6a6c21910395a8d0ca23;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702;p=fw%2Fopenocd diff --git a/src/xsvf/xsvf.h b/src/xsvf/xsvf.h index 017af882e..aa0f4f040 100644 --- a/src/xsvf/xsvf.h +++ b/src/xsvf/xsvf.h @@ -13,18 +13,17 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef XSVF_H -#define XSVF_H -#include "command.h" +#ifndef OPENOCD_XSVF_XSVF_H +#define OPENOCD_XSVF_XSVF_H -extern int xsvf_register_commands(struct command_context_s *cmd_ctx); +#include -#define ERROR_XSVF_EOF (-200) -#define ERROR_XSVF_FAILED (-201) +int xsvf_register_commands(struct command_context *cmd_ctx); -#endif /* XSVF_H */ +#define ERROR_XSVF_EOF (-200) +#define ERROR_XSVF_FAILED (-201) + +#endif /* OPENOCD_XSVF_XSVF_H */