Transform 'u32' to 'uint32_t' in src/target
[fw/openocd] / src / target / target_request.h
index 487ce3465b4ec196dce5e5a410de7e1e0919326c..dcfcd9acd9c66143cd53be7d4238cc0a20c9f8de 100644 (file)
@@ -2,6 +2,12 @@
  *   Copyright (C) 2007 by Dominic Rath                                    *
  *   Dominic.Rath@gmx.de                                                   *
  *                                                                         *
+ *   Copyright (C) 2007,2008 Ã˜yvind Harboe                                 *
+ *   oyvind.harboe@zylin.com                                               *
+ *                                                                         *
+ *   Copyright (C) 2008 by Spencer Oliver                                  *
+ *   spen@spen-soft.co.uk                                                  *
+ *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
@@ -20,7 +26,7 @@
 #ifndef TARGET_REQUEST_H
 #define TARGET_REQUEST_H
 
-#include "command.h"
+#include "target.h"
 
 typedef enum target_req_cmd
 {
@@ -36,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);