diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-14 12:07:24 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-14 12:07:29 +0100 |
commit | c6b8bd77c0fe00dbc455b39208f15761178160a3 (patch) | |
tree | ea4a1ec60ea778e45c9b9a465599c1194036985a /async.h | |
parent | 7adfef1680a7e8d93c29c0c15977a95febdcf473 (diff) |
Make dictionary functions static and include the .c file
Diffstat (limited to 'async.h')
-rw-r--r-- | async.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |