X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fserver%2Fserver.h;h=6f0ec3e326b450d559d7b12ac551cab555f5ac23;hb=f370d70670bd5e30befe6fbfbc8d472e760f032b;hp=95410e80bec59c167b81228f4758fce52e939780;hpb=20f505f695df9d9ba4c20780848336afec240a31;p=fw%2Fopenocd diff --git a/src/server/server.h b/src/server/server.h index 95410e80b..6f0ec3e32 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -68,8 +68,8 @@ typedef struct service_s } 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(); -extern int server_quit(); +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);