From 6903177bb0e49e1771de6a1f0a2cba21eaa123be Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 14 Mar 2007 23:34:37 +0000 Subject: Add 'ls' command to nsh git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@63 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/dirent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/include/dirent.h') diff --git a/nuttx/include/dirent.h b/nuttx/include/dirent.h index 160dd04ea..e0d9fca68 100644 --- a/nuttx/include/dirent.h +++ b/nuttx/include/dirent.h @@ -56,8 +56,8 @@ #define DTYPE_FILE 0x01 #define DTYPE_DIRECTORY 0x02 -#define DIRENT_ISFILE(dtype) (((dtype) & DTYPE_FILE) != ) -#define DIRENT_ISDIRECTORY(dtype) (((dtype) & DTYPE_DIRECTORY) != ) +#define DIRENT_ISFILE(dtype) (((dtype) & DTYPE_FILE) != 0 ) +#define DIRENT_ISDIRECTORY(dtype) (((dtype) & DTYPE_DIRECTORY) != 0 ) /************************************************************ * Public Type Definitions -- cgit v1.2.3