From b7447076723848b112ea5adba615db60f30683bf Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan.bastani@ens.fr>
Date: Fri, 4 Mar 2011 11:35:38 +0100
Subject: [PATCH] change macro defines to accord with change in submodule code

---
 mex/sources/ms-sbvar/modify_for_mex.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/mex/sources/ms-sbvar/modify_for_mex.h b/mex/sources/ms-sbvar/modify_for_mex.h
index 7bb1957086..ea44f28cfe 100644
--- a/mex/sources/ms-sbvar/modify_for_mex.h
+++ b/mex/sources/ms-sbvar/modify_for_mex.h
@@ -26,11 +26,11 @@
 #include <dynblas.h>
 #include <dynlapack.h>
 
-#define dw_malloc(n) mxMalloc(n)
-#define dw_calloc(n) mxCalloc(n)
-#define dw_realloc(buffer,n) mxRealloc(buffer,n)
-#define dw_free(buffer) mxFree(buffer)
-#define dw_exit(n) msExit(n)
+#define dw_malloc mxMalloc
+#define dw_calloc mxCalloc
+#define dw_realloc mxRealloc
+#define dw_free mxFree
+#define dw_exit msExit
 
 void msExit(int status);
 extern int constant_seed;
-- 
GitLab