Changeset 8d5fc9d in rtems-libbsd for freebsd/sys/sys/blist.h


Ignore:
Timestamp:
Nov 27, 2018, 8:07:53 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 9dd0bc27e3338bad08eaaf52d03265d2e7b9b4f7, 7027254d293cf3a8c888bd9f25052e96f458bc67, d164b840c3973e0793da1b3e4142b1711514b9ba
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.