freebsd-dev/sys/boot/uboot/lib
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
..
api_public.h
console.c
copy.c Go back to using uintptr_t, because code that actually compiles is 2016-01-13 00:22:12 +00:00
devicename.c
disk.c Fix several instances where the boot loader ignored pager_output 2016-05-18 05:59:05 +00:00
elf_freebsd.c Remove extra 0x before %p format strings introduced by r296182 2016-07-08 22:32:03 +00:00
glue.c Remove extra 0x before %p format strings introduced by r296182 2016-07-08 22:32:03 +00:00
glue.h Improve U-Boot API detection 2016-03-09 11:45:48 +00:00
libuboot.h An ARM kernel can be loaded at any 2MB boundary, make ubldr aware of that. 2015-05-17 19:59:05 +00:00
Makefile Add more .NOMETA missed in r291320 2016-03-11 23:45:51 +00:00
module.c Print error message if autoload fails due to missing DTB blob, otherwise 2015-05-26 20:32:14 +00:00
net.c If the user has set a u-boot env var named rootpath, automatically 2016-02-22 18:53:55 +00:00
reboot.c
time.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00