diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 23:32:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 23:32:23 +0000 |
commit | d7d4a0d765d12cc152c62a37b490702c39d76447 (patch) | |
tree | d3969c50e49cd742124e05349431556344a93f54 /nuttx/include/sys/statfs.h | |
parent | 313eb5bb780f9e9baa353651996b51ce33a85fca (diff) | |
download | px4-nuttx-d7d4a0d765d12cc152c62a37b490702c39d76447.tar.gz px4-nuttx-d7d4a0d765d12cc152c62a37b490702c39d76447.tar.bz2 px4-nuttx-d7d4a0d765d12cc152c62a37b490702c39d76447.zip |
Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2340 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys/statfs.h')
-rw-r--r-- | nuttx/include/sys/statfs.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/nuttx/include/sys/statfs.h b/nuttx/include/sys/statfs.h index 05688f566..fb9654b08 100644 --- a/nuttx/include/sys/statfs.h +++ b/nuttx/include/sys/statfs.h @@ -1,7 +1,7 @@ /**************************************************************************** * include/sys/statfs.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,7 +41,9 @@ ****************************************************************************/ #include <nuttx/config.h> + #include <sys/types.h> +#include <stdint.h> /**************************************************************************** * Pre-Processor Definitions @@ -100,14 +102,14 @@ struct statfs { - uint32 f_type; /* Type of filesystem (see definitions above) */ - size_t f_bsize; /* Optimal block size for transfers */ - size_t f_blocks; /* Total data blocks in the file system of this size */ - size_t f_bfree; /* Free blocks in the file system */ - size_t f_bavail; /* Free blocks avail to non-superuser */ - size_t f_files; /* Total file nodes in the file system */ - size_t f_ffree; /* Free file nodes in the file system */ - uint32 f_namelen; /* Maximum length of filenames */ + uint32_t f_type; /* Type of filesystem (see definitions above) */ + size_t f_bsize; /* Optimal block size for transfers */ + size_t f_blocks; /* Total data blocks in the file system of this size */ + size_t f_bfree; /* Free blocks in the file system */ + size_t f_bavail; /* Free blocks avail to non-superuser */ + size_t f_files; /* Total file nodes in the file system */ + size_t f_ffree; /* Free file nodes in the file system */ + uint32_t f_namelen; /* Maximum length of filenames */ }; /**************************************************************************** |