diff options
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index 8a176c28bd..1639a13c2f 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,8 @@ +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. + 2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Add nostdinc to AM_INIT_AUTOMAKE. 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 |