diff options
author | andrew <andrew@FreeBSD.org> | 2016-02-21 21:20:23 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-02-21 21:20:23 +0000 |
commit | 69511675eb34650e2176ca75b267875494f017c3 (patch) | |
tree | 655fa1945637068aa9e32678f56bcdc5db3feaf5 /sys/boot/efi | |
parent | 100946a0d0f01db31afd0e3a8796cac6b30f9b80 (diff) | |
download | FreeBSD-src-69511675eb34650e2176ca75b267875494f017c3.zip FreeBSD-src-69511675eb34650e2176ca75b267875494f017c3.tar.gz |
Make efi_time and EFI_GetTimeOfDay static, neither are used by other parts
of the efi code.
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/boot/efi')
-rw-r--r-- | sys/boot/efi/include/efilib.h | 1 | ||||
-rw-r--r-- | sys/boot/efi/libefi/time.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/boot/efi/include/efilib.h b/sys/boot/efi/include/efilib.h index ba5b663..6717cb1 100644 --- a/sys/boot/efi/include/efilib.h +++ b/sys/boot/efi/include/efilib.h @@ -46,7 +46,6 @@ int efi_handle_lookup(EFI_HANDLE, struct devsw **, int *, uint64_t *); int efi_handle_update_dev(EFI_HANDLE, struct devsw *, int, uint64_t); int efi_status_to_errno(EFI_STATUS); -time_t efi_time(EFI_TIME *); EFI_STATUS main(int argc, CHAR16 *argv[]); void exit(EFI_STATUS status); diff --git a/sys/boot/efi/libefi/time.c b/sys/boot/efi/libefi/time.c index 5c39415..1f9d5da 100644 --- a/sys/boot/efi/libefi/time.c +++ b/sys/boot/efi/libefi/time.c @@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$"); #define SECSPERHOUR ( 60*60 ) #define SECSPERDAY (24 * SECSPERHOUR) -time_t +static time_t efi_time(EFI_TIME *ETime) { /* @@ -164,7 +164,7 @@ efi_time(EFI_TIME *ETime) return UTime; } -int +static int EFI_GetTimeOfDay( OUT struct timeval *tp, OUT struct timezone *tzp |