b3776cb8de
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 |
||
---|---|---|
.. | ||
files.jz4780 | ||
files.x1000 | ||
jz4780_aic.c | ||
jz4780_aic.h | ||
jz4780_clk_gen.c | ||
jz4780_clk_otg.c | ||
jz4780_clk_pll.c | ||
jz4780_clk.h | ||
jz4780_clock.c | ||
jz4780_clock.h | ||
jz4780_codec.c | ||
jz4780_codec.h | ||
jz4780_common.h | ||
jz4780_cpuregs.h | ||
jz4780_dme.c | ||
jz4780_dwc_fdt.c | ||
jz4780_efuse.c | ||
jz4780_ehci.c | ||
jz4780_gpio_if.m | ||
jz4780_gpio.c | ||
jz4780_intr.c | ||
jz4780_lcd.c | ||
jz4780_lcd.h | ||
jz4780_machdep.c | ||
jz4780_mmc.c | ||
jz4780_mp.c | ||
jz4780_mpboot.S | ||
jz4780_nand.c | ||
jz4780_nemc.c | ||
jz4780_ohci.c | ||
jz4780_pdma.c | ||
jz4780_pdma.h | ||
jz4780_pinctrl.c | ||
jz4780_pinctrl.h | ||
jz4780_regs.h | ||
jz4780_rtc.c | ||
jz4780_smb.c | ||
jz4780_smb.h | ||
jz4780_timer.c | ||
jz4780_uart.c |