summaryrefslogtreecommitdiffstats
path: root/nuttx/include/dirent.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-14 23:32:23 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-14 23:32:23 +0000
commit87263bd73cc83defe8b9970532acf807b2b17ace (patch)
treed3969c50e49cd742124e05349431556344a93f54 /nuttx/include/dirent.h
parent7b6b7d8fe4cae381127e6bf09bec5f8789c3803e (diff)
Switching to C99 stdint.h types
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2340 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include/dirent.h')
-rw-r--r--nuttx/include/dirent.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/include/dirent.h b/nuttx/include/dirent.h
index 8e02264504..049b621a66 100644
--- a/nuttx/include/dirent.h
+++ b/nuttx/include/dirent.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/dirent.h
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,11 +41,13 @@
****************************************************************************/
#include <nuttx/config.h>
+
#include <sys/types.h>
+#include <stdint.h>
#include <limits.h>
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* File type code for the d_type field in dirent struct.
@@ -75,7 +77,7 @@
struct dirent
{
- ubyte d_type; /* type of file */
+ uint8_t d_type; /* type of file */
char d_name[NAME_MAX+1]; /* filename */
};