Changeset 787449a9 in rtems


Ignore:
Timestamp:
Feb 5, 2003, 9:12:03 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f4f341b
Parents:
54ceffa
Message:

2003-02-05 Joel Sherrill <joel@…>

  • include/sys/ioccom.h: Fix so not using internal RTEMS types in libc code.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r54ceffa r787449a9  
     12003-02-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
     4        code.
     5
    162003-02-03      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libcsupport/include/sys/ioccom.h

    r54ceffa r787449a9  
    3838#define _SYS_IOCCOM_H_
    3939
     40#include <machine/types.h>
     41
    4042/*
    4143 * Ioctl's have the command encoded in the lower word, and the size of
     
    5658
    5759#define _IOC(inout,group,num,len) \
    58         ((unsigned32)inout | (unsigned32) ((unsigned32)((unsigned32)len & IOCPARM_MASK) << 16) | (unsigned32)((group) << 8) | (unsigned32)(num))
     60        ((u_int32_t)inout | \
     61         (u_int32_t) ((u_int32_t)((u_int32_t)len & IOCPARM_MASK) << 16) | \
     62         (u_int32_t)((group) << 8) | \
     63         (u_int32_t)(num))
    5964#define _IO(g,n)        _IOC(IOC_VOID,  (g), (n), 0)
    6065#define _IOR(g,n,t)     _IOC(IOC_OUT,   (g), (n), sizeof(t))
Note: See TracChangeset for help on using the changeset viewer.