diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-14 23:34:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-14 23:34:37 +0000 |
commit | 6903177bb0e49e1771de6a1f0a2cba21eaa123be (patch) | |
tree | 3f25334f1ce2e64517ab8288a3371cd5483bcc03 /nuttx/include/dirent.h | |
parent | 1df59ef5f64b5af480e4048e904f65d0682fc56b (diff) | |
download | px4-nuttx-6903177bb0e49e1771de6a1f0a2cba21eaa123be.tar.gz px4-nuttx-6903177bb0e49e1771de6a1f0a2cba21eaa123be.tar.bz2 px4-nuttx-6903177bb0e49e1771de6a1f0a2cba21eaa123be.zip |
Add 'ls' command to nsh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@63 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/dirent.h')
-rw-r--r-- | nuttx/include/dirent.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |