Changeset 12a885c in rtems-libbsd for testsuite/termios/test_termios_utilities.c

Timestamp:
08/24/18 06:55:00 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 5-freebsd-12, 388d46bb1b3080402c68ae11d14b2b36c3138952, 89db1bb27c9d52164a78dc2fda0a2ba9da0920ef
Children:
0963419
Parents:
8e35aaa
git-author:
Sebastian Huber <sebastian.huber@…> (08/24/18 06:55:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/24/18 06:57:10)
Message:

Update due to <sys/time.h> API changes

Changes correspond to FreeBSD commit:

"Make timespecadd(3) and friends public

The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub. NetBSD, OpenBSD, and FreeDesktop?.org's libbsd, however, define
three-argument versions. Solaris also defines a three-argument version, but
only in its kernel. This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with: cem, jilles, ian, bde
Differential Revision: https://reviews.freebsd.org/D14725"

Update #3472.

(No files)

Note: See TracChangeset for help on using the changeset viewer.