end_state_command_t -> struct end_state_command
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 13:59:48 +0000 (05:59 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:05 +0000 (11:58 -0800)
Remove misleading typedef from struct end_state_command.

src/jtag/commands.h

index 0a4d7233046394b953a51a4d26f46e41cbfb0cc8..9d0747a6d6c33e115d749e47f0d6a24f427982ea 100644 (file)
@@ -90,11 +90,10 @@ struct reset_command {
        int srst;
 };
 
-typedef struct end_state_command_s
-{
+struct end_state_command {
        /// state in which JTAG commands should finish
        tap_state_t end_state;
-} end_state_command_t;
+};
 
 typedef struct sleep_command_s
 {
@@ -114,7 +113,7 @@ typedef union jtag_command_container_u
        struct runtest_command*      runtest;
        struct stableclocks_command* stableclocks;
        struct reset_command*        reset;
-       end_state_command_t*    end_state;
+       struct end_state_command*    end_state;
        sleep_command_t* sleep;
 } jtag_command_container_t;