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.
This commit is contained in:
Joel Sherrill
2002-10-28 14:04:03 +00:00
parent ef142d71a5
commit a1f10111da
2 changed files with 12 additions and 7 deletions
+5
View File
@@ -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.
+7 -7
View File
@@ -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