From c6b8bd77c0fe00dbc455b39208f15761178160a3 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Fri, 14 Jan 2011 12:07:24 +0100 Subject: Make dictionary functions static and include the .c file --- async.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'async.h') diff --git a/async.h b/async.h index 2990a15..ba2b6f5 100644 --- a/async.h +++ b/async.h @@ -32,13 +32,13 @@ #ifndef __HIREDIS_ASYNC_H #define __HIREDIS_ASYNC_H #include "hiredis.h" -#include "dict.h" #ifdef __cplusplus extern "C" { #endif struct redisAsyncContext; /* need forward declaration of redisAsyncContext */ +struct dict; /* dictionary header is included in async.c */ /* Reply callback prototype and container */ typedef void (redisCallbackFn)(struct redisAsyncContext*, void*, void*); @@ -95,8 +95,8 @@ typedef struct redisAsyncContext { /* Subscription callbacks */ struct { redisCallbackList invalid; - dict *channels; - dict *patterns; + struct dict *channels; + struct dict *patterns; } sub; } redisAsyncContext; -- cgit v1.2.3