From 0f0e7cc54aecab1647bdcd222c84d17275b92313 Mon Sep 17 00:00:00 2001 From: "p37sitdu, corvid" Date: Sat, 12 Jan 2013 20:13:36 +0000 Subject: clean up struct typedefs --- src/dicache.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/dicache.h') 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); -- cgit v1.2.3