freebsd-dev/sbin/fsck_ffs
Alan Somers 6040822c4e 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
2018-07-30 15:46:40 +00:00
..
dir.c Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
ea.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fsck_ffs.8 Exit fsck_ffs with non-zero status when file system is not repaired. 2018-01-15 19:25:11 +00:00
fsck.h Include files missed in 329051. 2018-02-08 23:14:24 +00:00
fsutil.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
gjournal.c More throughly integrate libufs into fsck_ffs by using its cgput() 2018-01-24 23:57:40 +00:00
globs.c Include files missed in 329051. 2018-02-08 23:14:24 +00:00
inode.c Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
main.c Include files missed in 329051. 2018-02-08 23:14:24 +00:00
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pass1.c Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
pass1b.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass2.c Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
pass3.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass4.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass5.c The goal of this change is to prevent accidental foot shooting by 2018-02-08 23:06:58 +00:00
setup.c Refactoring of reading and writing of the UFS/FFS superblock. 2018-01-26 00:58:32 +00:00
suj.c Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
utilities.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00