[gegl/wip/lantw/fix-204-docs-workshop-warnings: 4/6] alpha-inpaint: Comment out malloc.h



commit e5a47c1d8df9fe1099adba8086476d98159d98fc
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Wed Sep 11 12:11:28 2019 +0800

    alpha-inpaint: Comment out malloc.h
    
    malloc_trim call is commented out in this file, so there is no need to
    include malloc.h. Additionally, including malloc.h is not allowed on
    FreeBSD because of '#error' directive in it.

 operations/workshop/alpha-inpaint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/operations/workshop/alpha-inpaint.c b/operations/workshop/alpha-inpaint.c
index 8feb15703..5331b3e25 100644
--- a/operations/workshop/alpha-inpaint.c
+++ b/operations/workshop/alpha-inpaint.c
@@ -20,7 +20,7 @@
 #include <stdio.h>
 #include "config.h"
 #include <glib/gi18n-lib.h>
-#include <malloc.h>
+//#include <malloc.h>
 
 
 #ifdef GEGL_PROPERTIES


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]