- Replace 'if(' with 'if ('.
[fw/openocd] / src / target / target_request.h
index 697e75c5b67bb20b551a7cd1bed0437b9253d6a7..dcfcd9acd9c66143cd53be7d4238cc0a20c9f8de 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef TARGET_REQUEST_H
 #define TARGET_REQUEST_H
 
-#include "command.h"
+#include "target.h"
 
 typedef enum target_req_cmd
 {
@@ -42,7 +42,7 @@ typedef struct debug_msg_receiver_s
        struct debug_msg_receiver_s *next;
 } debug_msg_receiver_t;
 
-extern int target_request(target_t *target, u32 request);
+extern int target_request(target_t *target, uint32_t request);
 extern int delete_debug_msg_receiver(struct command_context_s *cmd_ctx, target_t *target);
 extern int target_request_register_commands(struct command_context_s *cmd_ctx);