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.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/server.h') diff --git a/src/server/server.h b/src/server/server.h index 062691b0..5e862815 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -42,7 +42,7 @@ struct connection { int fd; struct sockaddr_in sin; - command_context_t *cmd_ctx; + struct command_context *cmd_ctx; struct service *service; int input_pending; void *priv; @@ -77,9 +77,9 @@ int add_service(char *name, enum connection_type type, unsigned short port, int server_init(void); int server_quit(void); -int server_loop(command_context_t *command_context); +int server_loop(struct command_context *command_context); -int server_register_commands(command_context_t *context); +int server_register_commands(struct command_context *context); /** * Defines an extended command handler function declaration to enable -- cgit v1.2.3-18-g5258