summaryrefslogtreecommitdiff
path: root/src/gd_io_dp.c
diff options
context:
space:
mode:
authorpierre <none@none>2006-04-05 15:46:42 +0000
committerpierre <none@none>2006-04-05 15:46:42 +0000
commit2399023b6cb691e77bad7b3fa7ea8f75226ed744 (patch)
treec7556af1f5af716b97159e78ac4b5c7b9ff9e7bb /src/gd_io_dp.c
parent21da27e012372493327c0b569c56442352a3c08e (diff)
downloadlibgd-2399023b6cb691e77bad7b3fa7ea8f75226ed744.tar.gz
- sync to 2.0.9
Diffstat (limited to 'src/gd_io_dp.c')
-rw-r--r--src/gd_io_dp.c25
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;