Source

gd-libgd / src / gd_io_dp.c

Diff from to

File src/gd_io_dp.c

 #define FALSE	0
 
 /* this is used for creating images in main memory */
-typedef struct dpStruct
-{
+typedef struct dpStruct {
 	void *data;
 	int logicalSize;
 	int realSize;
 }
 dynamicPtr;
 
-typedef struct dpIOCtx
-{
+typedef struct dpIOCtx {
 	gdIOCtx ctx;
 	dynamicPtr *dp;
 }
 		if(remain == 0) {
 			/* 2.0.34: EOF is incorrect. We use 0 for
 			 * errors and EOF, just like fileGetbuf,
-			 * which is a simple fread() wrapper. 
+			 * which is a simple fread() wrapper.
 			 * TBB. Original bug report: Daniel Cowgill. */
 			return 0; /* NOT EOF */
 		}