From 9c5731448976a0d2200c55b0370ae497835490a4 Mon Sep 17 00:00:00 2001 From: torque Date: Wed, 9 Jul 2014 13:38:50 -0700 Subject: Cleanup libuv adapter This: - Removes misplaced libuv function prototype - Includes stdlib for free() Closes #251 --- adapters/libuv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapters') 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 #include #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; -- cgit v1.2.3