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/file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/common/file.c') diff --git a/firmware/common/file.c b/firmware/common/file.c index 9d18c613bf..3b7a889833 100644 --- a/firmware/common/file.c +++ b/firmware/common/file.c @@ -18,9 +18,9 @@ ****************************************************************************/ #include #include +#include #include "file.h" #include "fat.h" -#include "types.h" #include "dir.h" #include "debug.h" @@ -111,13 +111,13 @@ int open(char* pathname, int flags) openfiles[fd].cacheoffset = -1; openfiles[fd].fileoffset = 0; - openfiles[fd].busy = TRUE; + openfiles[fd].busy = true; return fd; } int close(int fd) { - openfiles[fd].busy = FALSE; + openfiles[fd].busy = false; return 0; } -- cgit v1.2.3