diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-10-28 14:04:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-10-28 14:04:03 +0000 |
commit | a1f10111da5d72c3e9e7f3cd69561f945fd25277 (patch) | |
tree | c33271e8bcd08d4fef6b0e9937d350563b2adfca /cpukit/libcsupport/include | |
parent | 2002-10-28 Eugeny S. Mints <Eugeny.Mints@oktet.ru> (diff) | |
download | rtems-a1f10111da5d72c3e9e7f3cd69561f945fd25277.tar.bz2 |
2002-10-28 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Change rtems_filesystem_node_types_t from
enumeration to int to eliminate warnings when values are overridden.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index a3a21f23d8..595eeb460e 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -33,13 +33,13 @@ /* * Valid RTEMS file types. */ -typedef enum { - RTEMS_FILESYSTEM_DIRECTORY, - RTEMS_FILESYSTEM_DEVICE, - RTEMS_FILESYSTEM_HARD_LINK, - RTEMS_FILESYSTEM_SYM_LINK, - RTEMS_FILESYSTEM_MEMORY_FILE -} rtems_filesystem_node_types_t; + +#define RTEMS_FILESYSTEM_DIRECTORY 1 +#define RTEMS_FILESYSTEM_DEVICE 2 +#define RTEMS_FILESYSTEM_HARD_LINK 3 +#define RTEMS_FILESYSTEM_SYM_LINK 4 +#define RTEMS_FILESYSTEM_MEMORY_FILE 5 +typedef int rtems_filesystem_node_types_t; /* * File Handler Operations Table |