diff options
author | pierre <none@none> | 2006-04-05 15:46:42 +0000 |
---|---|---|
committer | pierre <none@none> | 2006-04-05 15:46:42 +0000 |
commit | 2399023b6cb691e77bad7b3fa7ea8f75226ed744 (patch) | |
tree | c7556af1f5af716b97159e78ac4b5c7b9ff9e7bb /src/gd_io_dp.c | |
parent | 21da27e012372493327c0b569c56442352a3c08e (diff) | |
download | libgd-2399023b6cb691e77bad7b3fa7ea8f75226ed744.tar.gz |
- sync to 2.0.9
Diffstat (limited to 'src/gd_io_dp.c')
-rw-r--r-- | src/gd_io_dp.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/gd_io_dp.c b/src/gd_io_dp.c index 986dfd0..97b5c84 100644 --- a/src/gd_io_dp.c +++ b/src/gd_io_dp.c @@ -31,20 +31,20 @@ /* this is used for creating images in main memory */ typedef struct dpStruct - { - void *data; - int logicalSize; - int realSize; - int dataGood; - int pos; - } +{ + void *data; + int logicalSize; + int realSize; + int dataGood; + int pos; +} dynamicPtr; typedef struct dpIOCtx - { - gdIOCtx ctx; - dynamicPtr *dp; - } +{ + gdIOCtx ctx; + dynamicPtr *dp; +} dpIOCtx; typedef struct dpIOCtx *dpIOCtxPtr; @@ -137,8 +137,7 @@ gdDPExtractData (struct gdIOCtx *ctx, int *size) return data; } -static -void +static void gdFreeDynamicCtx (struct gdIOCtx *ctx) { dynamicPtr *dp; |