Fix bugs introduced in last commit

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3470 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-04-05 21:18:03 +00:00
parent 38fd6e5317
commit 3910f865ec
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -39,12 +39,13 @@
#include <nuttx/config.h>
#include <stdlib.h>
#include <assert.h>
#include <semaphore.h>
#include <errno.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs.h>
#include "fs_internal.h"
/****************************************************************************
+2 -2
View File
@@ -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)
+1
View File
@@ -43,6 +43,7 @@
#include <string.h>
#include <errno.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs.h>
#include <nuttx/lib.h>