Changeset 1d99262 in rtems-libbsd


Ignore:
Timestamp:
Aug 9, 2018, 5:20:08 AM (8 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
647dd08ae2aa69b935c2847ea450fb824322ecae, c6261f97870562d4c797cfb1ff1ba0affb85a916
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.