diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 03:38:34 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 09:44:33 -0800 |
commit | 994a63c3fee11b8c65891ead6b03b2b716044541 (patch) | |
tree | 1dcc5f75b3ac8d8886574ea8dd03382f110d4785 /src/server/server.h | |
parent | 81fbc637185fb0007dbe84c866794800851295b5 (diff) |
src/{server,pld,svf,xsvf}: remove 'extern' keyword
Removes 'extern' keyword from function declarations in header filess.
Diffstat (limited to 'src/server/server.h')
-rw-r--r-- | src/server/server.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/server/server.h b/src/server/server.h index dab28eca..d4f1b6b5 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -69,11 +69,17 @@ typedef struct service_s struct service_s *next; } service_t; -extern int add_service(char *name, enum connection_type type, unsigned short port, int max_connections, new_connection_handler_t new_connection_handler, input_handler_t input_handler, connection_closed_handler_t connection_closed_handler, void *priv); -extern int server_init(void); -extern int server_quit(void); -extern int server_loop(command_context_t *command_context); -extern int server_register_commands(command_context_t *context); +int add_service(char *name, enum connection_type type, unsigned short port, + int max_connections, new_connection_handler_t new_connection_handler, + input_handler_t in_handler, connection_closed_handler_t close_handler, + void *priv); + +int server_init(void); +int server_quit(void); + +int server_loop(command_context_t *command_context); + +int server_register_commands(command_context_t *context); int server_port_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, unsigned short *port); |