aboutsummaryrefslogtreecommitdiff
path: root/src/dicache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dicache.h')
-rw-r--r--src/dicache.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dicache.h b/src/dicache.h
index 70adb6c0..76fdba92 100644
--- a/src/dicache.h
+++ b/src/dicache.h
@@ -24,9 +24,7 @@ typedef enum {
DIC_Abort /* Image transfer aborted */
} DicEntryState;
-typedef struct _DICacheEntry DICacheEntry;
-
-struct _DICacheEntry {
+typedef struct DICacheEntry {
DilloUrl *url; /* Image URL for this entry */
uint_t width, height; /* As taken from image data */
DilloImgType type; /* Image type */
@@ -44,8 +42,8 @@ struct _DICacheEntry {
void *DecoderData; /* Client function data */
uint_t DecodedSize; /* Size of already decoded data */
- DICacheEntry *next; /* Link to the next "newer" version */
-};
+ struct DICacheEntry *next; /* Link to the next "newer" version */
+} DICacheEntry;
void a_Dicache_init (void);