summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-15 11:18:23 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-15 11:18:23 -0800
commit8af3d352342e10e2ca04b36d5343a3dd1c1850c6 (patch)
tree60580976668e387ad6609ec7b5c13de4e739387a /include
parent323d40a5607acaa2a2fa6dba98e37b826e3ed7aa (diff)
parent6dac0c8c4f26e9311b8cdea005728cd662609796 (diff)
downloadinfinitytier-8af3d352342e10e2ca04b36d5343a3dd1c1850c6.tar.gz
infinitytier-8af3d352342e10e2ca04b36d5343a3dd1c1850c6.zip
Merge branch 'dev' into edge
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 8e0d0db3..8a74eafa 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -1241,7 +1241,7 @@ enum ZT_ResultCode ZT_Node_processBackgroundTasks(ZT_Node *node,uint64_t now,vol
* @param uptr An arbitrary pointer to associate with this network (default: NULL)
* @return OK (0) or error code if a fatal error condition has occurred
*/
-enum ZT_ResultCode ZT_Node_join(ZT_Node *node,uint64_t nwid,void *uptr = (void *)0);
+enum ZT_ResultCode ZT_Node_join(ZT_Node *node,uint64_t nwid,void *uptr);
/**
* Leave a network
@@ -1258,7 +1258,7 @@ enum ZT_ResultCode ZT_Node_join(ZT_Node *node,uint64_t nwid,void *uptr = (void *
* @param uptr Target pointer is set to uptr (if not NULL)
* @return OK (0) or error code if a fatal error condition has occurred
*/
-enum ZT_ResultCode ZT_Node_leave(ZT_Node *node,uint64_t nwid,void **uptr = (void **)0);
+enum ZT_ResultCode ZT_Node_leave(ZT_Node *node,uint64_t nwid,void **uptr);
/**
* Subscribe to an Ethernet multicast group