Followup to fix indentation, leading tabs, then spaces.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-09 15:51:07 +02:00
1 parent ca803bb12f
commit 052b08e0b5
2 files changed
+10 -10

No files matched your search

+9 -9
View File
@@ -43,7 +43,7 @@ typedef enum {
/* Main libuEv context type */ /* Main libuEv context type */
typedef struct { typedef struct {
int running; int running;
int fd; /* For epoll() */ int fd; /* For epoll() */
uint32_t errors; uint32_t errors;
LIST_HEAD(,uev) watchers; LIST_HEAD(,uev) watchers;
} uev_ctx_t; } uev_ctx_t;
@@ -53,23 +53,23 @@ struct uev;
/* This is used to hide all private data members in uev_t */ /* This is used to hide all private data members in uev_t */
#define uev_private_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 active; \
int events; \ int events; \
\ \
/* Watcher callback with optional argument */ \ /* Watcher callback with optional argument */ \
void (*cb)(struct uev *, void *, int); \ void (*cb)(struct uev *, void *, int); \
void *arg; \ void *arg; \
\ \
/* Timer watchers, time in milliseconds */ \ /* Timer watchers, time in milliseconds */ \
int timeout; \ int timeout; \
int period; \ int period; \
\ \
/* Signal watchers */ \ /* Signal watchers */ \
int signo; \ int signo; \
\ \
/* Watcher type */ \ /* Watcher type */ \
uev_type_t uev_type_t
/* Internal API for dealing with generic watchers */ /* Internal API for dealing with generic watchers */
+1 -1
View File
@@ -45,7 +45,7 @@ typedef struct uev {
int fd; int fd;
uev_ctx_t *ctx; uev_ctx_t *ctx;
uev_private_t type; uev_private_t type;
} uev_t; } uev_t;
/* Generic callback for watchers */ /* Generic callback for watchers */