diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 23:56:52 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 10:51:45 -0800 |
commit | cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e (patch) | |
tree | f129c414d90f81a2caf6054ab7bbcd1306ac1f26 /src/pld/virtex2.c | |
parent | ddb6138ed428f666064d26bb08036de3afe44bc8 (diff) |
use COMMAND_HANDLER macro to define all commands
Diffstat (limited to 'src/pld/virtex2.c')
-rw-r--r-- | src/pld/virtex2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index fa646505..3c6d61fe 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -177,8 +177,7 @@ static int virtex2_load(struct pld_device_s *pld_device, const char *filename) return ERROR_OK; } -static int virtex2_handle_read_stat_command(struct command_context_s *cmd_ctx, - char *cmd, char **args, int argc) +COMMAND_HANDLER(virtex2_handle_read_stat_command) { pld_device_t *device; virtex2_pld_device_t *virtex2_info; |