From 2382044ffca161910eb9e4bddf01a4bb2bc7481f Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 13 May 2002 12:29:34 +0000 Subject: Changing to C99 'bool' type git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/dir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/common/dir.c') diff --git a/firmware/common/dir.c b/firmware/common/dir.c index acc412c570..f7f61719a2 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c @@ -18,14 +18,14 @@ ****************************************************************************/ #include #include +#include #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; } -- cgit v1.2.3