freebsd-skq/sys
stevek f38db92af3 The getsecs() function is implemented in platform- and bootfw-specific
files and, in a number of these places, there were problems with how they
were declared.

Some used int return instead of time_t. On some architectures the bit
width of time_t did not naturally fit into an integer and could lead to
some unexpected behavior. (For example, 32-bit ARM builds uses a 64-bit
time_t.)

Make sure the function prototypes always specify void for the argument
list when they do not have any arguemnts, otherwise some compilers can
complain about the prototype.

Reported by:	Kevin Zheng
Reviewed by:	sjg
Approved by:	sjg (mentor)
Obtained from:	Juniper Networks, Inc.
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D7463
2016-09-22 06:24:40 +00:00
..
amd64 Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
arm Add a way for the architecture to specify the calling ABI for methods 2016-09-21 10:35:44 +00:00
arm64 Add a way for the architecture to specify the calling ABI for methods 2016-09-21 10:35:44 +00:00
boot The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
bsm
cam Protect ccbq access with devq->send_mtx in the XPT_ABORT handler. 2016-09-21 00:08:42 +00:00
cddl MFC r305123: Fix kernel panic when inheriting properties without default. 2016-09-14 09:13:17 +00:00
compat Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
conf Add kernel interfaces to call EFI Runtime Services. 2016-09-21 11:31:58 +00:00
contrib Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Silently ignore unexpected single-step traps (except for turning 2016-09-17 11:43:51 +00:00
dev Revert r306148 to fix build 2016-09-22 00:25:23 +00:00
fs Change the getnewvnode(9) tag for nullfs from "null" to "nullfs". 2016-09-15 13:57:37 +00:00
gdb
geom Follow up r305988 by removing g_bio_run_task and related code. 2016-09-20 09:18:33 +00:00
gnu Update the device tree source files to a Linux 4.7-RC. 2016-09-21 08:54:08 +00:00
i386 Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
isa
kern Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
kgssapi
libkern
mips Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
modules Add evdev support to ums(4) 2016-09-21 18:52:03 +00:00
net Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
net80211 [net80211] don't add IBSS node table entries for neighbors from other SSIDs. 2016-09-21 19:48:07 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet Fix the handling of unordered fragmented user messages using DATA chunks. 2016-09-21 08:28:18 +00:00
netinet6 Reduce code duplication around NDP message handlers in icmp6_input(). 2016-09-20 18:08:17 +00:00
netipsec Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netnatm
netpfil Move opcode rewriter init and destroy handlers into non-VENT code. 2016-09-18 17:35:17 +00:00
netsmb
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm MFC r298351 2016-07-22 03:09:47 +00:00
ofed MFC r304342: 2016-08-26 12:06:43 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Remove the ie(4) driver for Intel 82586 ISA Ethernet adapters. 2016-08-20 00:49:29 +00:00
powerpc Revert part of r306065 2016-09-21 22:09:17 +00:00
riscv Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
rpc MFstable/11 r303691: 2016-08-03 01:19:10 +00:00
security Don't check aq64_minfree which is unsigned for negative values. 2016-09-08 19:47:57 +00:00
sparc64 Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
sys Rename efi_systbl to efi_systbl_phys, the variable contains the 2016-09-21 10:55:28 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs Be more strict when selecting between snapshot/regular mount. 2016-09-19 15:58:33 +00:00
vm MFC r305129: 2016-09-14 10:51:06 +00:00
x86 Detect x2APIC mode on boot and obey it. 2016-09-19 15:58:45 +00:00
xdr
xen
Makefile