diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-05-13 12:29:34 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-13 12:29:34 +0000 |
| commit | 2382044ffca161910eb9e4bddf01a4bb2bc7481f (patch) | |
| tree | b1e3f9e08b47e60ad3f1ea3658794eb4f78cc4d1 /firmware/common/dir.c | |
| parent | 0631a1dcce95d2cde96dd205f85b7d849215aaa5 (diff) | |
| download | rockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.zip rockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.tar.gz rockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.tar.bz2 rockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.tar.xz | |
Changing to C99 'bool' type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dir.c')
| -rw-r--r-- | firmware/common/dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index acc412c..f7f6171 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c @@ -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; } |