Changeset 8d5fc9d in rtems-libbsd


Ignore:
Timestamp:
Nov 27, 2018, 8:07:53 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 0ad342ae5f65d22eb6c914d58664d3b5d1d3d43f, 98d197895b6162050176ea18d66783a1dc216d82
Children:
1b47c61
Parents:
e0b4edbd
git-author:
Sebastian Huber <sebastian.huber@…> (11/27/18 08:07:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/27/18 08:13:54)
Message:

blist: Fix u_daddr_t for 32-bit targets

The daddr_t is defined in <sys/types.h> by Newlib as long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/blist.h

    re0b4edbd r8d5fc9d  
    5959#define _SYS_BLIST_H_
    6060
     61#ifndef __rtems__
    6162typedef uint64_t        u_daddr_t;      /* unsigned disk address */
     63#else /* __rtems__ */
     64typedef unsigned long   u_daddr_t;      /* unsigned disk address */
     65#endif /* __rtems__ */
    6266
    6367/*
Note: See TracChangeset for help on using the changeset viewer.