improve mips32_pracc_context
[fw/openocd] / src / target / target_request.h
index dcfcd9acd9c66143cd53be7d4238cc0a20c9f8de..669a8c6d612a00540606ae74db04a5293abf3ce4 100644 (file)
@@ -2,7 +2,7 @@
  *   Copyright (C) 2007 by Dominic Rath                                    *
  *   Dominic.Rath@gmx.de                                                   *
  *                                                                         *
- *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
+ *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
  *   oyvind.harboe@zylin.com                                               *
  *                                                                         *
  *   Copyright (C) 2008 by Spencer Oliver                                  *
@@ -36,14 +36,15 @@ typedef enum target_req_cmd
 /*     TARGET_REQ_SEMIHOSTING, */
 } target_req_cmd_t;
 
-typedef struct debug_msg_receiver_s
+struct debug_msg_receiver
 {
        command_context_t *cmd_ctx;
-       struct debug_msg_receiver_s *next;
-} debug_msg_receiver_t;
+       struct debug_msg_receiver *next;
+};
 
-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);
+int target_request(target_t *target, uint32_t request);
+int delete_debug_msg_receiver(struct command_context_s *cmd_ctx,
+               target_t *target);
+int target_request_register_commands(struct command_context_s *cmd_ctx);
 
 #endif /* TARGET_REQUEST_H */