summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-05 21:18:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-05 21:18:03 +0000
commit808d6faee2744a707579aec30bc34f60229acfc9 (patch)
tree997dab90f2a8184e1ae407b043fb985426c5208b /nuttx/include
parent16be59858afa332cc8a0f8e61a215e1deea5e897 (diff)
downloadpx4-nuttx-808d6faee2744a707579aec30bc34f60229acfc9.tar.gz
px4-nuttx-808d6faee2744a707579aec30bc34f60229acfc9.tar.bz2
px4-nuttx-808d6faee2744a707579aec30bc34f60229acfc9.zip
Fix bugs introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3470 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/kmalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/kmalloc.h b/nuttx/include/nuttx/kmalloc.h
index aafe150fd..acdfca1cd 100644
--- a/nuttx/include/nuttx/kmalloc.h
+++ b/nuttx/include/nuttx/kmalloc.h
@@ -78,8 +78,8 @@ extern "C" {
# define kmm_initialize(h,s) mm_initialize(h,s)
# define kmm_addregion(h,s) mm_addregion(h,s)
-# define kmm_trysemaphore(h,s) mm_trysemaphore(h,s)
-# define kmm_givesemaphore(h,s) mm_givesemaphore(h,s)
+# define kmm_trysemaphore() mm_trysemaphore()
+# define kmm_givesemaphore() mm_givesemaphore()
# define kmalloc(s) malloc(s)
# define kzalloc(s) zalloc(s)