aboutsummaryrefslogtreecommitdiff
path: root/src/core/event.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-10 15:02:38 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-10 15:02:38 -0700
commit795aebbee77bb74d8792df96dfe1aa79ec9548fc (patch)
tree58c16424c16b9e71cebdceaee4507ab6608f80da /src/core/event.h
parentde90f97167d2df6739db47b2c6aad85f06250270 (diff)
downloadnng-795aebbee77bb74d8792df96dfe1aa79ec9548fc.tar.gz
nng-795aebbee77bb74d8792df96dfe1aa79ec9548fc.tar.bz2
nng-795aebbee77bb74d8792df96dfe1aa79ec9548fc.zip
Give up on uncrustify; switch to clang-format.
Diffstat (limited to 'src/core/event.h')
-rw-r--r--src/core/event.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/event.h b/src/core/event.h
index e43306c9..6d9a9394 100644
--- a/src/core/event.h
+++ b/src/core/event.h
@@ -14,21 +14,21 @@
#include "core/list.h"
struct nng_event {
- int e_type;
- nni_sock * e_sock;
- nni_ep * e_ep;
- nni_pipe * e_pipe;
+ int e_type;
+ nni_sock *e_sock;
+ nni_ep * e_ep;
+ nni_pipe *e_pipe;
};
struct nng_notify {
nng_notify_func n_func;
- void * n_arg;
- int n_type;
- nni_sock * n_sock;
- nni_aio n_aio;
+ void * n_arg;
+ int n_type;
+ nni_sock * n_sock;
+ nni_aio n_aio;
};
-extern int nni_ev_init(nni_event *, int, nni_sock *);
+extern int nni_ev_init(nni_event *, int, nni_sock *);
extern void nni_ev_fini(nni_event *);
#endif // CORE_EVENT_H