diff options
author | torque <torque@1> | 2014-07-09 13:38:50 -0700 |
---|---|---|
committer | Matt Stancliff <matt@genges.com> | 2015-01-05 16:38:57 -0500 |
commit | 9c5731448976a0d2200c55b0370ae497835490a4 (patch) | |
tree | 0d7d52ee9f176e76ab544f45343386c6e8a34dc5 /adapters/libuv.h | |
parent | 40f7035ba47c3cdf161e3801d89fcc8afbd0c458 (diff) |
Cleanup libuv adapter
This:
- Removes misplaced libuv function prototype
- Includes stdlib for free()
Closes #251
Diffstat (limited to 'adapters/libuv.h')
-rw-r--r-- | adapters/libuv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/libuv.h b/adapters/libuv.h index a1967f4..3cdf3d3 100644 --- a/adapters/libuv.h +++ b/adapters/libuv.h @@ -1,5 +1,6 @@ #ifndef __HIREDIS_LIBUV_H__ #define __HIREDIS_LIBUV_H__ +#include <stdlib.h> #include <uv.h> #include "../hiredis.h" #include "../async.h" @@ -11,7 +12,6 @@ typedef struct redisLibuvEvents { int events; } redisLibuvEvents; -int redisLibuvAttach(redisAsyncContext*, uv_loop_t*); static void redisLibuvPoll(uv_poll_t* handle, int status, int events) { redisLibuvEvents* p = (redisLibuvEvents*)handle->data; |