Changeset bf95ccb5 in rtems for cpukit/libblock


Ignore:
Timestamp:
May 27, 2008, 10:34:15 AM (12 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
41d7c0fe
Parents:
a184e5e
Message:

Added const qualifier to various pointers and data tables to

reduce size of data area.
IMFS: Fixed creation of symbolic links to avoid a compiler warning.
DOSFS: Use LibBlock? instead of read() to read the boot record.

Location:
cpukit/libblock
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/include/rtems/diskdevs.h

    ra184e5e rbf95ccb5  
    8686rtems_disk_create_phys(dev_t dev, int block_size, int disk_size,
    8787                       block_device_ioctl handler,
    88                        char *name);
     88                       const char *name);
    8989
    9090/* rtems_disk_create_log --
  • cpukit/libblock/src/diskdevs.c

    ra184e5e rbf95ccb5  
    172172 */
    173173static rtems_status_code
    174 create_disk(dev_t dev, char *name, disk_device **diskdev)
     174create_disk(dev_t dev, const char *name, disk_device **diskdev)
    175175{
    176176    disk_device *dd;
     
    236236rtems_disk_create_phys(dev_t dev, int block_size, int disk_size,
    237237                       block_device_ioctl handler,
    238                        char *name)
     238                       const char *name)
    239239{
    240240    int bs_log2;
Note: See TracChangeset for help on using the changeset viewer.