aboutsummaryrefslogtreecommitdiff
path: root/src/dicache.c
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
committerp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
commit0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch)
tree225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/dicache.c
parent69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff)
clean up struct typedefs
Diffstat (limited to 'src/dicache.c')
-rw-r--r--src/dicache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dicache.c b/src/dicache.c
index e700f000..23721685 100644
--- a/src/dicache.c
+++ b/src/dicache.c
@@ -21,7 +21,6 @@
#include "dgif.h"
#include "djpeg.h"
-typedef struct _DICacheNode DICacheNode;
enum {
DIC_Gif,
@@ -29,11 +28,11 @@ enum {
DIC_Jpeg
};
-struct _DICacheNode {
+typedef struct {
int valid; /* flag */
DilloUrl *url; /* primary "Key" for this dicache entry */
DICacheEntry *first; /* pointer to the first dicache entry in this list */
-};
+} DICacheNode;
/*
* List of DICacheNode. One node per URL. Each node may have several