kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=b49e71ed77e7749fbb5ac66c527b5ffab92fff3d

commit b49e71ed77e7749fbb5ac66c527b5ffab92fff3d
Author: Kim Woelders <k...@woelders.dk>
Date:   Thu Apr 14 22:35:34 2016 +0200

    Eliminate pImlibExternalFilter type.
---
 src/lib/dynamic_filters.c | 8 ++++----
 src/lib/dynamic_filters.h | 6 ++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/lib/dynamic_filters.c b/src/lib/dynamic_filters.c
index bc102ec..23a88ec 100644
--- a/src/lib/dynamic_filters.c
+++ b/src/lib/dynamic_filters.c
@@ -20,7 +20,7 @@
 
 static char       **__imlib_ListFilters(int *num_ret);
 
-static pImlibExternalFilter filters = NULL;
+static ImlibExternalFilter *filters = NULL;
 static int          dyn_initialised = 0;
 
 #define MALLOCSHOW
@@ -29,7 +29,7 @@ static int          dyn_initialised = 0;
 #define FDEBUG
 */
 
-static              pImlibExternalFilter
+static ImlibExternalFilter *
 __imlib_LoadFilter(char *file)
 {
    ImlibExternalFilter *ptr;
@@ -127,10 +127,10 @@ __imlib_dynamic_filters_deinit()
 {
 }
 
-pImlibExternalFilter
+ImlibExternalFilter *
 __imlib_get_dynamic_filter(char *name)
 {
-   pImlibExternalFilter f_ptr;
+   ImlibExternalFilter *f_ptr;
    int                 i = 0;
 
    /* scan the filters */
diff --git a/src/lib/dynamic_filters.h b/src/lib/dynamic_filters.h
index 926705e..9b7bebc 100644
--- a/src/lib/dynamic_filters.h
+++ b/src/lib/dynamic_filters.h
@@ -1,7 +1,6 @@
 #ifndef _DYNAMIC_FILTERS_H_
 #define _DYNAMIC_FILTERS_H_
 
-#include "common.h"
 #include "script.h"
 
 struct imlib_filter_info {
@@ -13,7 +12,6 @@ struct imlib_filter_info {
 };
 
 typedef struct _imlib_external_filter ImlibExternalFilter;
-typedef struct _imlib_external_filter *pImlibExternalFilter;
 
 struct _imlib_external_filter {
    char               *name;
@@ -27,11 +25,11 @@ struct _imlib_external_filter {
    void                (*deinit_filter) (void);
    void               *(*exec_filter) (char *filter, void *im,
                                        pIFunctionParam params);
-   pImlibExternalFilter next;
+   ImlibExternalFilter *next;
 };
 
 void                __imlib_dynamic_filters_init(void);
 void                __imlib_dynamic_filters_deinit(void);
-pImlibExternalFilter __imlib_get_dynamic_filter(char *name);
+ImlibExternalFilter *__imlib_get_dynamic_filter(char *name);
 
 #endif

-- 


Reply via email to