Ignore:
Timestamp:
Oct 28, 2002, 2:04:03 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d6a85919
Parents:
ef142d7
Message:

2002-10-28 Joel Sherrill <joel@…>

  • include/rtems/libio.h: Change rtems_filesystem_node_types_t from enumeration to int to eliminate warnings when values are overridden.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/rtems/libio.h

    ref142d7 ra1f1011  
    3434 * Valid RTEMS file types.
    3535 */
    36 typedef enum {
    37   RTEMS_FILESYSTEM_DIRECTORY,
    38   RTEMS_FILESYSTEM_DEVICE,
    39   RTEMS_FILESYSTEM_HARD_LINK,
    40   RTEMS_FILESYSTEM_SYM_LINK,
    41   RTEMS_FILESYSTEM_MEMORY_FILE
    42 } rtems_filesystem_node_types_t;
     36
     37#define RTEMS_FILESYSTEM_DIRECTORY   1
     38#define RTEMS_FILESYSTEM_DEVICE      2
     39#define RTEMS_FILESYSTEM_HARD_LINK   3
     40#define RTEMS_FILESYSTEM_SYM_LINK    4
     41#define RTEMS_FILESYSTEM_MEMORY_FILE 5
     42typedef int rtems_filesystem_node_types_t;
    4343
    4444/*
Note: See TracChangeset for help on using the changeset viewer.