target: trace: drop useless typedef trace_status_t
No need to use a typedef for an enum. Drop it. Change-Id: I31e0e3869c7277bcb14e05cfcac82c9655963ae6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8704 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -33,13 +33,13 @@ struct trace {
|
||||
* to *hardware* tracing ... split such "real" tracing out from
|
||||
* the contrib/libdcc support.
|
||||
*/
|
||||
typedef enum trace_status {
|
||||
enum trace_status {
|
||||
TRACE_IDLE = 0x0,
|
||||
TRACE_RUNNING = 0x1,
|
||||
TRACE_TRIGGERED = 0x2,
|
||||
TRACE_COMPLETED = 0x4,
|
||||
TRACE_OVERFLOWED = 0x8,
|
||||
} trace_status_t;
|
||||
};
|
||||
|
||||
int trace_point(struct target *target, uint32_t number);
|
||||
int trace_register_commands(struct command_context *cmd_ctx);
|
||||
|
||||
Reference in New Issue
Block a user