X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Ftarget_request.h;h=669a8c6d612a00540606ae74db04a5293abf3ce4;hb=d64a873db44258470b50f370f2c8af71157952d0;hp=dcfcd9acd9c66143cd53be7d4238cc0a20c9f8de;hpb=3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87;p=fw%2Fopenocd diff --git a/src/target/target_request.h b/src/target/target_request.h index dcfcd9acd..669a8c6d6 100644 --- a/src/target/target_request.h +++ b/src/target/target_request.h @@ -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 */