[SCM] calf/master: remove #include-s for <malloc.h>
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:36 UTC 2013
The following commit has been merged in the master branch:
commit 3fa2934d35d96a1268ca91525ef71bfcd52490e1
Author: Nedko Arnaudov <nedko at arnaudov.name>
Date: Tue Feb 8 15:54:47 2011 +0200
remove #include-s for <malloc.h>
<malloc.h> is not available on Snow Leopard. For free(),
<stdlib.h> should be included. It is included already.
diff --git a/src/ctl_curve.cpp b/src/ctl_curve.cpp
index a09bc5e..6205463 100644
--- a/src/ctl_curve.cpp
+++ b/src/ctl_curve.cpp
@@ -20,7 +20,6 @@
* Boston, MA 02110-1301 USA
*/
#include <calf/ctl_curve.h>
-#include <malloc.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
diff --git a/src/ctl_keyboard.cpp b/src/ctl_keyboard.cpp
index ca732c3..35abefb 100644
--- a/src/ctl_keyboard.cpp
+++ b/src/ctl_keyboard.cpp
@@ -22,7 +22,6 @@
*/
#include <calf/ctl_keyboard.h>
#include <stdint.h>
-#include <malloc.h>
#include <stdlib.h>
static const int semitones_b[] = { 1, 3, -1, 6, 8, 10, -1 };
diff --git a/src/ctl_led.cpp b/src/ctl_led.cpp
index 73e674b..9dbeaf4 100644
--- a/src/ctl_led.cpp
+++ b/src/ctl_led.cpp
@@ -21,7 +21,6 @@
#include <calf/ctl_led.h>
#include <math.h>
#include <stdint.h>
-#include <malloc.h>
#include <stdlib.h>
GtkWidget *
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list