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



commit b2989a19dea76807aea56efa13e09ac6280b63a9
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]