From ca76478bcb7ec20329b4690ef8dd62662514a849 Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Wed, 5 Jun 2013 19:21:54 +0200 Subject: indent fix, pass 2 no functional change --- libglouglou/libglouglou.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'libglouglou/libglouglou.c') diff --git a/libglouglou/libglouglou.c b/libglouglou/libglouglou.c index 972bb07..f702d2a 100644 --- a/libglouglou/libglouglou.c +++ b/libglouglou/libglouglou.c @@ -25,19 +25,19 @@ printf("libgg: %s: " fmt "\n", __func__, ##__VA_ARGS__) if (_verbosity >= 2) \ printf("libgg: %s: XXX: " fmt "\n", __func__, ##__VA_ARGS__) -void cb_srv_receive(evutil_socket_t, short, void *); +void cb_srv_receive(evutil_socket_t, short, void *); struct gg_user *user_add(struct gg_server *, struct sockaddr_in *); -void user_del(struct gg_server *, struct gg_user *); +void user_del(struct gg_server *, struct gg_user *); struct gg_user *user_find(struct gg_server *, struct sockaddr_in *); -int user_send(struct gg_user *, void *, int); -int cb_usr_send(void *, int, void *); -int client_send(struct gg_client *, void *, int); -void cb_cli_receive(evutil_socket_t, short, void *); -void cb_cli_timer(evutil_socket_t, short, void *); -int cb_cli_send(void *, int, void *); +int user_send(struct gg_user *, void *, int); +int cb_usr_send(void *, int, void *); +int client_send(struct gg_client *, void *, int); +void cb_cli_receive(evutil_socket_t, short, void *); +void cb_cli_timer(evutil_socket_t, short, void *); +int cb_cli_send(void *, int, void *); struct gg_packet *pkt_decode(char **, int *); -int pkt_getsize(struct gg_packet *); -int pkt_encode(struct gg_packet *, struct gg_packet *); +int pkt_getsize(struct gg_packet *); +int pkt_encode(struct gg_packet *, struct gg_packet *); int _verbosity = 0; @@ -424,14 +424,14 @@ client_send(struct gg_client *cli, void *data, int size) void cb_cli_receive(evutil_socket_t fd, short what, void *arg) { - struct gg_client *cli; - struct gg_packet *pkt; - struct sockaddr_in remote; + struct gg_client *cli; + struct gg_packet *pkt; + struct sockaddr_in remote; socklen_t remote_len; - char buf[PACKET_BUFFER_SIZE]; - char *buf_p; - int buf_len; - int len; + char buf[PACKET_BUFFER_SIZE]; + char *buf_p; + int buf_len; + int len; cli = arg; remote_len = sizeof(struct sockaddr_in); -- cgit v1.2.3-59-g8ed1b