1
0
Fork 0
forked from len0rd/rockbox

Changing to C99 'bool' type

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-13 12:29:34 +00:00
parent 0631a1dcce
commit 2382044ffc
8 changed files with 19 additions and 47 deletions

View file

@ -18,14 +18,14 @@
****************************************************************************/
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "fat.h"
#include "dir.h"
#include "debug.h"
#include "types.h"
static DIR thedir;
static struct dirent theent;
static bool busy=FALSE;
static bool busy=false;
DIR* opendir(char* name)
{
@ -70,14 +70,14 @@ DIR* opendir(char* name)
}
}
busy = TRUE;
busy = true;
return &thedir;
}
int closedir(DIR* dir)
{
busy=FALSE;
busy=false;
return 0;
}