From 98723c4ecdbe06f90c66f3abec27b792c3b38e34 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 13:25:47 -0800 Subject: command_context_t -> struct command_context Remove misleading typedef and redundant suffix from struct command_context. --- src/server/server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/server.c') diff --git a/src/server/server.c b/src/server/server.c index 5614ef98..7416784c 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -45,7 +45,7 @@ static int shutdown_openocd = 0; /* set when using pipes rather than tcp */ int server_use_pipes = 0; -int add_connection(struct service *service, command_context_t *cmd_ctx) +int add_connection(struct service *service, struct command_context *cmd_ctx) { socklen_t address_size; struct connection *c, **p; @@ -288,7 +288,7 @@ int remove_services(void) extern void openocd_sleep_prelude(void); extern void openocd_sleep_postlude(void); -int server_loop(command_context_t *command_context) +int server_loop(struct command_context *command_context) { struct service *service; @@ -541,7 +541,7 @@ COMMAND_HANDLER(handle_shutdown_command) return ERROR_COMMAND_CLOSE_CONNECTION; } -int server_register_commands(command_context_t *context) +int server_register_commands(struct command_context *context) { register_command(context, NULL, "shutdown", handle_shutdown_command, COMMAND_ANY, -- cgit v1.2.3