From 0279df6fc1acf63b4c28a6da54f44e965fc445e9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sat, 30 Jul 2011 01:40:49 +0000 Subject: [PATCH] remove trailing whitespace SVN revision: 61916 --- legacy/eet/src/lib/Eet.h | 14 +++++++------- legacy/eet/src/lib/eet_cipher.c | 6 +++--- legacy/eet/src/lib/eet_image.c | 6 +++--- legacy/eet/src/lib/eet_lib.c | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/legacy/eet/src/lib/Eet.h b/legacy/eet/src/lib/Eet.h index b09d3a4b8c..730625c71a 100644 --- a/legacy/eet/src/lib/Eet.h +++ b/legacy/eet/src/lib/Eet.h @@ -522,7 +522,7 @@ typedef struct _Eet_Dictionary Eet_Dictionary; * You can also open the file for read/write. If you then write a key that * does not exist it will be created, if the key exists it will be replaced * by the new data. - * + * * If the same file is opened multiple times, then the same file handle will * be returned as eet maintains an internal list of all currently open * files. Note that it considers files opened for read only and those opened @@ -1389,7 +1389,7 @@ eet_data_image_read_cipher(Eet_File *ef, int *compress, int *quality, int *lossy); - + /** * Read image data from the named key in the eet file using a cipher. * @param ef A valid eet file handle opened for reading. @@ -2343,7 +2343,7 @@ typedef struct _Eet_Data_Descriptor Eet_Data_Descriptor; typedef struct _Eet_Data_Descriptor_Class Eet_Data_Descriptor_Class; typedef int (*Eet_Descriptor_Hash_Foreach_Callback_Callback)(void *h, const char *k, void *dt, void *fdt); - + typedef void *(*Eet_Descriptor_Mem_Alloc_Callback)(size_t size); typedef void (*Eet_Descriptor_Mem_Free_Callback)(void *mem); typedef char *(*Eet_Descriptor_Str_Alloc_Callback)(const char *str); @@ -2405,7 +2405,7 @@ struct _Eet_Data_Descriptor_Class * @} */ - + /** * Create a new empty data structure descriptor. * @param name The string name of this data structure (most be a @@ -3218,7 +3218,7 @@ eet_data_descriptor_encode(Eet_Data_Descriptor *edd, (char *)(& (___ett)), \ NULL, unified_type); \ } while (0) - + /** * Add a automatically selectable type to a data descriptor * @param edd The data descriptor to add the type to. @@ -3250,7 +3250,7 @@ eet_data_descriptor_encode(Eet_Data_Descriptor *edd, (char *)(& (___ett)), \ NULL, unified_type); \ } while (0) - + /** * Add a mapping to a data descriptor that will be used by union, variant or inherited type * @param unified_type The data descriptor to add the mapping to. @@ -3906,7 +3906,7 @@ typedef void *(*Eet_Node_Walk_List_Callback)(const char *name, void *user_data); typedef void (*Eet_Node_Walk_Append_Callback)(void *list, void *child, void *user_data); typedef void *(*Eet_Node_Walk_Hash_Callback)(void *parent, const char *name, const char *key, void *value, void *user_data); typedef void *(*Eet_Node_Walk_Simple_Callback)(int type, Eet_Node_Data *data, void *user_data); - + /** * @struct _Eet_Node_Walk * Describes how to walk trees of #Eet_Node. diff --git a/legacy/eet/src/lib/eet_cipher.c b/legacy/eet/src/lib/eet_cipher.c index a2a9a71996..132c55ed1c 100644 --- a/legacy/eet/src/lib/eet_cipher.c +++ b/legacy/eet/src/lib/eet_cipher.c @@ -150,7 +150,7 @@ eet_identity_open(const char *certificate_file, /* let's make mmap safe and just get 0 pages for IO erro */ eina_mmap_safety_enabled_set(EINA_TRUE); - + if ((data = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) == MAP_FAILED) goto on_error; @@ -184,7 +184,7 @@ eet_identity_open(const char *certificate_file, /* let's make mmap safe and just get 0 pages for IO erro */ eina_mmap_safety_enabled_set(EINA_TRUE); - + if ((data = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) == MAP_FAILED) goto on_error; @@ -533,7 +533,7 @@ eet_identity_sign(FILE *fp, /* let's make mmap safe and just get 0 pages for IO erro */ eina_mmap_safety_enabled_set(EINA_TRUE); - + /* Map the file in memory. */ data = mmap(NULL, st_buf.st_size, PROT_READ, MAP_PRIVATE, fd, 0); if (data == MAP_FAILED) diff --git a/legacy/eet/src/lib/eet_image.c b/legacy/eet/src/lib/eet_image.c index a10a13af8b..8b48e7b689 100644 --- a/legacy/eet/src/lib/eet_image.c +++ b/legacy/eet/src/lib/eet_image.c @@ -94,7 +94,7 @@ static void _eet_jpeg_membuf_src_term(j_decompress_ptr cinfo) { struct jpeg_membuf_src *src = ((struct jpeg_membuf_src *)cinfo->src)->self; - + free(src); cinfo->src = NULL; } /* _eet_jpeg_membuf_src_term */ @@ -111,7 +111,7 @@ eet_jpeg_membuf_src(j_decompress_ptr cinfo, return -1; src->self = src; - + cinfo->src = &src->pub; src->buf = buf; src->len = len; @@ -1571,7 +1571,7 @@ _eet_data_image_decode_inside(const void *data, Bytef *dtmp; uLongf dlen = src_w * src_h * 4; - /* FIXME: This could create a huge alloc. So compressed + /* FIXME: This could create a huge alloc. So compressed data and tile could not always work. */ dtmp = malloc(dlen); if (!dtmp) diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c index f8f64ee064..2a80526582 100644 --- a/legacy/eet/src/lib/eet_lib.c +++ b/legacy/eet/src/lib/eet_lib.c @@ -929,7 +929,7 @@ eet_internal_read2(Eet_File *ef) efn = malloc(sizeof(Eet_File_Node)); if (eet_test_close(!efn, ef)) { - if (efn) free(efn); /* yes i know - we only get here if + if (efn) free(efn); /* yes i know - we only get here if * efn is null/0 -> trying to shut up * warning tools like cppcheck */ return NULL; @@ -1193,7 +1193,7 @@ eet_internal_read1(Eet_File *ef) efn = malloc (sizeof(Eet_File_Node)); if (eet_test_close(!efn, ef)) { - if (efn) free(efn); /* yes i know - we only get here if + if (efn) free(efn); /* yes i know - we only get here if * efn is null/0 -> trying to shut up * warning tools like cppcheck */ return NULL;