summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Ziv Scully <zivscully@gmail.com>2015-12-30 15:55:36 -0500
committerGravatar Ziv Scully <zivscully@gmail.com>2015-12-30 15:55:36 -0500
commite3a98699c6736846c3365fb6a22146d3481a10d0 (patch)
tree819f408c73bf855f7a43202ee34c557b3d1ac109 /include
parente7c13d8091aa060a2ed7a769d9b6885dfd6b2b6e (diff)
Remove duplicate typedef declarations.
Diffstat (limited to 'include')
-rw-r--r--include/urweb/types_cpp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/urweb/types_cpp.h b/include/urweb/types_cpp.h
index ce0f2825..77e4c611 100644
--- a/include/urweb/types_cpp.h
+++ b/include/urweb/types_cpp.h
@@ -130,7 +130,12 @@ typedef struct uw_Sqlcache_Value {
unsigned long timeValid;
} uw_Sqlcache_Value;
-typedef struct uw_Sqlcache_Entry uw_Sqlcache_Entry;
+typedef struct uw_Sqlcache_Entry {
+ char *key;
+ uw_Sqlcache_Value *value;
+ unsigned long timeInvalid;
+ UT_hash_handle hh;
+} uw_Sqlcache_Entry;
typedef struct uw_Sqlcache_Cache {
pthread_rwlock_t lockOut;