summaryrefslogtreecommitdiff
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-13 12:29:34 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-13 12:29:34 +0000
commit2382044ffca161910eb9e4bddf01a4bb2bc7481f (patch)
treeb1e3f9e08b47e60ad3f1ea3658794eb4f78cc4d1 /firmware/common/dir.c
parent0631a1dcce95d2cde96dd205f85b7d849215aaa5 (diff)
downloadrockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.tar.gz
rockbox-2382044ffca161910eb9e4bddf01a4bb2bc7481f.zip
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.c8
1 files changed, 4 insertions, 4 deletions
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 @@
18 ****************************************************************************/ 18 ****************************************************************************/
19#include <stdio.h> 19#include <stdio.h>
20#include <string.h> 20#include <string.h>
21#include <stdbool.h>
21#include "fat.h" 22#include "fat.h"
22#include "dir.h" 23#include "dir.h"
23#include "debug.h" 24#include "debug.h"
24#include "types.h"
25 25
26static DIR thedir; 26static DIR thedir;
27static struct dirent theent; 27static struct dirent theent;
28static bool busy=FALSE; 28static bool busy=false;
29 29
30DIR* opendir(char* name) 30DIR* opendir(char* name)
31{ 31{
@@ -70,14 +70,14 @@ DIR* opendir(char* name)
70 } 70 }
71 } 71 }
72 72
73 busy = TRUE; 73 busy = true;
74 74
75 return &thedir; 75 return &thedir;
76} 76}
77 77
78int closedir(DIR* dir) 78int closedir(DIR* dir)
79{ 79{
80 busy=FALSE; 80 busy=false;
81 return 0; 81 return 0;
82} 82}
83 83