Changeset 1d99262 in rtems-libbsd


Ignore:
Timestamp:
Aug 9, 2018, 5:20:08 AM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
8e35aaa
Parents:
9bc7b96
git-author:
Sebastian Huber <sebastian.huber@…> (08/09/18 05:20:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/09/18 05:59:38)
Message:

libkern.h: Avoid call overhead for bcmp()

File:
1 edited

Legend:

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

    r9bc7b96 r1d99262  
    137137}
    138138#endif /* __rtems__ */
     139#ifndef __rtems__
    139140int      bcmp(const void *, const void *, size_t);
     141#else /* __rtems__ */
     142#define bcmp(m1, m2, n) memcmp(m1, m2, n)
     143#endif /* __rtems__ */
    140144int      timingsafe_bcmp(const void *, const void *, size_t);
    141145void    *bsearch(const void *, const void *, size_t,
Note: See TracChangeset for help on using the changeset viewer.