opnsense-src/sys/boot/efi/libefi
Stephen J. Kiernan 5c6b397ff1 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
..
delay.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
devpath.c Add some routines for working with EFI DEVICE_PATH objects. 2016-05-26 21:43:22 +00:00
efi_console.c When the EFI implementation (like U-Boot) does not support WaitForKey, we 2016-08-29 20:01:53 +00:00
efinet.c Fix unit number of EFI net interfaces and ignore psuedo network interfaces. 2016-05-26 23:32:28 +00:00
efipart.c Print a message when disks are found but no logical partition are 2016-06-17 17:09:22 +00:00
env.c Implement UEFI set environment variable, as well as exporting the EFI 2016-05-17 21:25:20 +00:00
errno.c Major rework of the ia64 loaders. The two primary objectives are: 2006-11-05 22:03:04 +00:00
handles.c Add EFI ZFS boot support 2016-01-15 02:33:47 +00:00
libefi.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
Makefile Netboot: allow both tftpfs and nfs in both pxeboot and loader.efi 2016-08-31 13:16:40 +00:00
Makefile.depend META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
time.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
time_event.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00