[dia] [warningectomy] implicit declaration of function 'abs'



commit 86b4fe2e28c812726c41f50f0a5a37154b1f68fa
Author: Hans Breuer <hans breuer org>
Date:   Sun May 20 17:22:30 2012 +0200

    [warningectomy] implicit declaration of function 'abs'
    
    According to man it's not from <math.h> but from <stdlib.h>

 plug-ins/dxf/autocad_pal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/dxf/autocad_pal.c b/plug-ins/dxf/autocad_pal.c
index d26b35e..3a5e66f 100644
--- a/plug-ins/dxf/autocad_pal.c
+++ b/plug-ins/dxf/autocad_pal.c
@@ -21,6 +21,7 @@
  */
 #include "config.h"
 
+#include <stdlib.h>
 #include <math.h>
 
 #include "autocad_pal.h"



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