mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 21:06:58 +08:00
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:
+2
-1
@@ -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"
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/fs.h>
|
||||
#include <nuttx/lib.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user