Skip to content
Snippets Groups Projects
Commit 3910f865 authored by patacongo's avatar patacongo
Browse files

Fix bugs introduced in last commit

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3470 42af7a65-404d-4744-a932-0658087f49c3
parent 38fd6e53
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment