#include "target.h" less wildly
[fw/openocd] / src / flash / at91sam3.c
index 4459364e75e78d7b495fb4718079817e9937fb8b..4507888fcbe797d3306fc05dd7cb6333dd83cc9f 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include <stddef.h>
-#include "log.h"
 #include "types.h"
 #include "flash.h"
-#include "target.h"
 #include "membuf.h"
 #include "at91sam3.h"
 #include "time_support.h"
@@ -2474,7 +2472,7 @@ static int sam3_registered;
 static int
 sam3_register_commands(struct command_context *cmd_ctx)
 {
-       command_t *pCmd;
+       struct command *pCmd;
 
        // only register once
        if (!sam3_registered) {