Changeset f4dea06 in rtems


Ignore:
Timestamp:
Jul 15, 2010, 8:59:46 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d0ef58a
Parents:
de39b51
Message:

2010-07-16 Sebastian Huber <sebastian.huber@…>

  • libfs/src/imfs/imfs.h: Changed IMFS_jnode_types_t to an enum. Removed IMFS_NUMBER_OF_TYPES define.
  • libfs/src/imfs/imfs_debug.c: Removed IMFS_types.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rde39b51 rf4dea06  
     12010-07-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libfs/src/imfs/imfs.h: Changed IMFS_jnode_types_t to an enum.
     4        Removed IMFS_NUMBER_OF_TYPES define.
     5        * libfs/src/imfs/imfs_debug.c: Removed IMFS_types.
     6
    172010-07-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • cpukit/libfs/src/imfs/imfs.h

    rde39b51 rf4dea06  
    135135 */
    136136
    137 #define IMFS_jnode_types_t rtems_filesystem_node_types_t
    138 #define IMFS_DIRECTORY     RTEMS_FILESYSTEM_DIRECTORY
    139 #define IMFS_DEVICE        RTEMS_FILESYSTEM_DEVICE
    140 #define IMFS_HARD_LINK     RTEMS_FILESYSTEM_HARD_LINK
    141 #define IMFS_SYM_LINK      RTEMS_FILESYSTEM_SYM_LINK
    142 #define IMFS_MEMORY_FILE   RTEMS_FILESYSTEM_MEMORY_FILE
    143 #define IMFS_LINEAR_FILE   (IMFS_MEMORY_FILE + 1)
    144 #define IMFS_FIFO          (IMFS_LINEAR_FILE + 1)
    145 
    146 #define IMFS_NUMBER_OF_TYPES  (IMFS_FIFO + 1)
     137typedef enum {
     138  IMFS_DIRECTORY = RTEMS_FILESYSTEM_DIRECTORY,
     139  IMFS_DEVICE = RTEMS_FILESYSTEM_DEVICE,
     140  IMFS_HARD_LINK = RTEMS_FILESYSTEM_HARD_LINK,
     141  IMFS_SYM_LINK =  RTEMS_FILESYSTEM_SYM_LINK,
     142  IMFS_MEMORY_FILE = RTEMS_FILESYSTEM_MEMORY_FILE,
     143  IMFS_LINEAR_FILE,
     144  IMFS_FIFO
     145} IMFS_jnode_types_t;
    147146
    148147typedef union {
  • cpukit/libfs/src/imfs/imfs_debug.c

    rde39b51 rf4dea06  
    3131#include "imfs.h"
    3232#include <rtems/libio_.h>
    33 
    34 /*
    35  *  IMFS_types
    36  *
    37  *  Printable names for each of the IMFS file system types.
    38  */
    39 
    40 char *IMFS_types[ IMFS_NUMBER_OF_TYPES ] = {
    41   "directory",
    42   "device",
    43   "link",
    44   "memory file",
    45   "linear file"
    46 };
    4733
    4834/*
Note: See TracChangeset for help on using the changeset viewer.