From 03f44172180563cb9d12d79e5512aae815fee899 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Tue, 5 May 2020 11:26:00 -0400 Subject: [PATCH] UKERNEL: remove redundant declaration of osi_GetTime Commit c861bb0d779b54236b63eda87d9dfaf7792d1659 "Additional UKERNEL headers, prototyping and other fixes" added the following lines to src/rx/rx_prototypes.h: #if defined(UKERNEL) && !defined(osi_GetTime) extern int osi_GetTime(struct timeval *tv); #endif However, this appears to be redundant with the declaration in src/afs/afs_prototypes.h: #ifdef UKERNEL ... extern int osi_GetTime(struct timeval *tv); ... #endif which was added much earlier with commit 8f2df21ffe59e9aa66219bf24656775b584c122d "pull-prototypes-to-head-20020821". Remove the redundant declaration in rx/rx_prototypes.h. No functional change is incurrred by this commit. Change-Id: I2032d302e862eed47250357e604cba4f26e89814 Reviewed-on: https://gerrit.openafs.org/14192 Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/rx/rx_prototypes.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/rx/rx_prototypes.h b/src/rx/rx_prototypes.h index 8485f6e..314ba0a 100644 --- a/src/rx/rx_prototypes.h +++ b/src/rx/rx_prototypes.h @@ -188,9 +188,6 @@ extern int clock_UnInit(void); #if !defined(clock_UpdateTime) extern void clock_UpdateTime(void); #endif -#if defined(UKERNEL) && !defined(osi_GetTime) -extern int osi_GetTime(struct timeval *tv); -#endif /* rx_clock_nt.c */ -- 1.7.1