Followup to fix indentation, leading tabs, then spaces.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-06-09 15:51:07 +02:00
parent ca803bb12f
commit 052b08e0b5
2 changed files with 10 additions and 10 deletions
+9 -9
View File
@@ -43,7 +43,7 @@ typedef enum {
/* Main libuEv context type */
typedef struct {
int running;
int fd; /* For epoll() */
int fd; /* For epoll() */
uint32_t errors;
LIST_HEAD(,uev) watchers;
} uev_ctx_t;
@@ -53,23 +53,23 @@ struct uev;
/* This is used to hide all private data members in uev_t */
#define uev_private_t \
LIST_ENTRY(uev) link; /* For queue.h linked list */ \
\
LIST_ENTRY(uev) link; /* For queue.h linked list */ \
\
int active; \
int events; \
\
\
/* Watcher callback with optional argument */ \
void (*cb)(struct uev *, void *, int); \
void *arg; \
\
/* Timer watchers, time in milliseconds */ \
\
/* Timer watchers, time in milliseconds */ \
int timeout; \
int period; \
\
\
/* Signal watchers */ \
int signo; \
\
/* Watcher type */ \
\
/* Watcher type */ \
uev_type_t
/* Internal API for dealing with generic watchers */
+1 -1
View File
@@ -45,7 +45,7 @@ typedef struct uev {
int fd;
uev_ctx_t *ctx;
uev_private_t type;
uev_private_t type;
} uev_t;
/* Generic callback for watchers */