Changeset 7a3878b in rtems


Ignore:
Timestamp:
Dec 3, 1998, 10:17:13 PM (21 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5822f43
Parents:
af73d86
Message:

Modifications for RTEMS_UNIX.

Files:
17 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/include/rtems/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • c/src/exec/libcsupport/include/rtems/libio.h

    raf73d86 r7a3878b  
    2121#define _RTEMS_LIBIO_H
    2222
     23#include <sys/types.h>
    2324#include <sys/stat.h>
    2425
  • c/src/exec/libcsupport/include/rtems/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • c/src/exec/libcsupport/src/base_fs.c

    raf73d86 r7a3878b  
    4141void rtems_filesystem_initialize( void )
    4242{
     43#if !defined(RTEMS_UNIX)
    4344  int                                   status;
    4445  rtems_filesystem_mount_table_entry_t *first_entry;
     
    7980  if ( status != 0 )
    8081    rtems_fatal_error_occurred( 0xABCD0003 );
     82#endif
    8183}
  • c/src/exec/libfs/src/imfs/ioman.c

    raf73d86 r7a3878b  
    1414 */
    1515
     16
     17
    1618#include <sys/types.h>
    1719#include <sys/stat.h>
     
    2426#include "libio_.h"
    2527#include "imfs.h"
     28
     29#if defined(__linux__)
     30#define S_IFCHR __S_IFCHR
     31#endif
    2632
    2733/*
     
    3743)
    3844{
     45#if !defined(RTEMS_UNIX)
    3946  int    status;
    4047  dev_t  dev;
     
    4754    return RTEMS_TOO_MANY;
    4855 
     56#endif
    4957  return RTEMS_SUCCESSFUL;
    5058}
     
    6169)
    6270{
     71#if !defined(RTEMS_UNIX)
    6372  IMFS_jnode_t                      *the_jnode;
    6473  rtems_filesystem_location_info_t   temp_loc;
     
    7988  device.minor              = the_jnode->info.device.minor;
    8089  *device_info              = &device;
     90#endif
    8191  return RTEMS_SUCCESSFUL;
    82 
    8392}
  • c/src/lib/include/rtems/libio.h

    raf73d86 r7a3878b  
    2121#define _RTEMS_LIBIO_H
    2222
     23#include <sys/types.h>
    2324#include <sys/stat.h>
    2425
  • c/src/lib/include/rtems/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • c/src/lib/libc/base_fs.c

    raf73d86 r7a3878b  
    4141void rtems_filesystem_initialize( void )
    4242{
     43#if !defined(RTEMS_UNIX)
    4344  int                                   status;
    4445  rtems_filesystem_mount_table_entry_t *first_entry;
     
    7980  if ( status != 0 )
    8081    rtems_fatal_error_occurred( 0xABCD0003 );
     82#endif
    8183}
  • c/src/lib/libc/ioman.c

    raf73d86 r7a3878b  
    1414 */
    1515
     16
     17
    1618#include <sys/types.h>
    1719#include <sys/stat.h>
     
    2426#include "libio_.h"
    2527#include "imfs.h"
     28
     29#if defined(__linux__)
     30#define S_IFCHR __S_IFCHR
     31#endif
    2632
    2733/*
     
    3743)
    3844{
     45#if !defined(RTEMS_UNIX)
    3946  int    status;
    4047  dev_t  dev;
     
    4754    return RTEMS_TOO_MANY;
    4855 
     56#endif
    4957  return RTEMS_SUCCESSFUL;
    5058}
     
    6169)
    6270{
     71#if !defined(RTEMS_UNIX)
    6372  IMFS_jnode_t                      *the_jnode;
    6473  rtems_filesystem_location_info_t   temp_loc;
     
    7988  device.minor              = the_jnode->info.device.minor;
    8089  *device_info              = &device;
     90#endif
    8191  return RTEMS_SUCCESSFUL;
    82 
    8392}
  • c/src/lib/libc/libio.h

    raf73d86 r7a3878b  
    2121#define _RTEMS_LIBIO_H
    2222
     23#include <sys/types.h>
    2324#include <sys/stat.h>
    2425
  • c/src/lib/libc/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • c/src/libfs/src/imfs/ioman.c

    raf73d86 r7a3878b  
    1414 */
    1515
     16
     17
    1618#include <sys/types.h>
    1719#include <sys/stat.h>
     
    2426#include "libio_.h"
    2527#include "imfs.h"
     28
     29#if defined(__linux__)
     30#define S_IFCHR __S_IFCHR
     31#endif
    2632
    2733/*
     
    3743)
    3844{
     45#if !defined(RTEMS_UNIX)
    3946  int    status;
    4047  dev_t  dev;
     
    4754    return RTEMS_TOO_MANY;
    4855 
     56#endif
    4957  return RTEMS_SUCCESSFUL;
    5058}
     
    6169)
    6270{
     71#if !defined(RTEMS_UNIX)
    6372  IMFS_jnode_t                      *the_jnode;
    6473  rtems_filesystem_location_info_t   temp_loc;
     
    7988  device.minor              = the_jnode->info.device.minor;
    8089  *device_info              = &device;
     90#endif
    8191  return RTEMS_SUCCESSFUL;
    82 
    8392}
  • cpukit/include/rtems/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • cpukit/libcsupport/include/rtems/libio.h

    raf73d86 r7a3878b  
    2121#define _RTEMS_LIBIO_H
    2222
     23#include <sys/types.h>
    2324#include <sys/stat.h>
    2425
  • cpukit/libcsupport/include/rtems/libio_.h

    raf73d86 r7a3878b  
    2828#include <assert.h>
    2929#include <stdarg.h>
     30#include <errno.h>
    3031
    3132#if ! defined(O_NDELAY)
     
    3536#  define O_NDELAY _FNBIO
    3637# endif
     38#endif
     39
     40#if !defined(ENOTSUP)
     41#define ENOTSUP EOPNOTSUPP
    3742#endif
    3843
  • cpukit/libcsupport/src/base_fs.c

    raf73d86 r7a3878b  
    4141void rtems_filesystem_initialize( void )
    4242{
     43#if !defined(RTEMS_UNIX)
    4344  int                                   status;
    4445  rtems_filesystem_mount_table_entry_t *first_entry;
     
    7980  if ( status != 0 )
    8081    rtems_fatal_error_occurred( 0xABCD0003 );
     82#endif
    8183}
  • cpukit/libfs/src/imfs/ioman.c

    raf73d86 r7a3878b  
    1414 */
    1515
     16
     17
    1618#include <sys/types.h>
    1719#include <sys/stat.h>
     
    2426#include "libio_.h"
    2527#include "imfs.h"
     28
     29#if defined(__linux__)
     30#define S_IFCHR __S_IFCHR
     31#endif
    2632
    2733/*
     
    3743)
    3844{
     45#if !defined(RTEMS_UNIX)
    3946  int    status;
    4047  dev_t  dev;
     
    4754    return RTEMS_TOO_MANY;
    4855 
     56#endif
    4957  return RTEMS_SUCCESSFUL;
    5058}
     
    6169)
    6270{
     71#if !defined(RTEMS_UNIX)
    6372  IMFS_jnode_t                      *the_jnode;
    6473  rtems_filesystem_location_info_t   temp_loc;
     
    7988  device.minor              = the_jnode->info.device.minor;
    8089  *device_info              = &device;
     90#endif
    8191  return RTEMS_SUCCESSFUL;
    82 
    8392}
Note: See TracChangeset for help on using the changeset viewer.