aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-31 00:20:08 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-31 00:20:08 -0800
commitee060d0de215c481e0f431c6bfe6172c15fea288 (patch)
treed28797ff78fbdf827f5de22e23d9689aac424c8e /src/core
parent64f4efa81a4bddcd8bdc31b6408b67d6c2e27dd1 (diff)
downloadnng-ee060d0de215c481e0f431c6bfe6172c15fea288.tar.gz
nng-ee060d0de215c481e0f431c6bfe6172c15fea288.tar.bz2
nng-ee060d0de215c481e0f431c6bfe6172c15fea288.zip
Uncrustify fixes.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pipe.h4
-rw-r--r--src/core/protocol.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index 2b4feb7d..d12320b2 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -20,8 +20,8 @@ struct nng_pipe {
uint32_t p_id;
struct nni_pipe_ops p_ops;
void * p_trandata;
- void * p_pdata; // protocol specific data
- size_t p_psize; // size of protocol data
+ void * p_pdata; // protocol specific data
+ size_t p_psize; // size of protocol data
nni_list_node p_node;
nni_socket * p_sock;
nni_endpt * p_ep;
diff --git a/src/core/protocol.h b/src/core/protocol.h
index a8e93ea7..3a391ece 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -39,11 +39,11 @@ struct nni_protocol {
// Thread functions for processing send & receive sides of
// protocol pipes. Send may be NULL, but recv should should not.
// (Recv needs to detect a closed pipe, if nothing else.)
- void (*proto_pipe_send)(void *);
+ void (*proto_pipe_send)(void *);
void (*proto_pipe_recv)(void *);
// Option manipulation. These may be NULL.
- int (*proto_setopt)(void *, int, const void *, size_t);
+ int (*proto_setopt)(void *, int, const void *, size_t);
int (*proto_getopt)(void *, int, void *, size_t *);
// Receive filter. This may be NULL, but if it isn't, then