mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 14:42:40 -04:00
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 |
||
|---|---|---|
| .. | ||
| conf.c | ||
| help.kboot | ||
| host_syscall.h | ||
| host_syscall.S | ||
| hostcons.c | ||
| hostdisk.c | ||
| kbootfdt.c | ||
| kerneltramp.S | ||
| ldscript.powerpc | ||
| main.c | ||
| Makefile | ||
| metadata.c | ||
| ppc64_elf_freebsd.c | ||
| version | ||