arg indentation

This commit is contained in:
Olof Hagsand 2016-04-12 20:26:23 +02:00
parent e3b51c3d32
commit 32a4b83b28

View file

@ -104,7 +104,10 @@ clicon_exit_get(void)
* @endcode * @endcode
*/ */
int int
event_reg_fd(int fd, int (*fn)(int, void*), void *arg, char *str) event_reg_fd(int fd,
int (*fn)(int, void*),
void *arg,
char *str)
{ {
struct event_data *e; struct event_data *e;
@ -132,7 +135,8 @@ event_reg_fd(int fd, int (*fn)(int, void*), void *arg, char *str)
* @see event_unreg_timeout * @see event_unreg_timeout
*/ */
int int
event_unreg_fd(int s, int (*fn)(int, void*)) event_unreg_fd(int s,
int (*fn)(int, void*))
{ {
struct event_data *e, **e_prev; struct event_data *e, **e_prev;
int found = 0; int found = 0;
@ -175,8 +179,10 @@ event_unreg_fd(int s, int (*fn)(int, void*))
* @see event_unreg_timeout * @see event_unreg_timeout
*/ */
int int
event_reg_timeout(struct timeval t, int (*fn)(int, void*), event_reg_timeout(struct timeval t,
void *arg, char *str) int (*fn)(int, void*),
void *arg,
char *str)
{ {
struct event_data *e, *e1, **e_prev; struct event_data *e, *e1, **e_prev;
@ -213,7 +219,8 @@ event_reg_timeout(struct timeval t, int (*fn)(int, void*),
* @see event_unreg_fd * @see event_unreg_fd
*/ */
int int
event_unreg_timeout(int (*fn)(int, void*), void *arg) event_unreg_timeout(int (*fn)(int, void*),
void *arg)
{ {
struct event_data *e, **e_prev; struct event_data *e, **e_prev;
int found = 0; int found = 0;