diff options
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/openssl/apps_posix.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/usr.bin/openssl/apps_posix.c b/src/usr.bin/openssl/apps_posix.c index 94c6d35f71..502919c0a2 100644 --- a/src/usr.bin/openssl/apps_posix.c +++ b/src/usr.bin/openssl/apps_posix.c | |||
| @@ -123,8 +123,8 @@ | |||
| 123 | 123 | ||
| 124 | #include "apps.h" | 124 | #include "apps.h" |
| 125 | 125 | ||
| 126 | static double | 126 | double |
| 127 | real_interval(int stop) | 127 | app_timer_real(int stop) |
| 128 | { | 128 | { |
| 129 | static struct timespec start; | 129 | static struct timespec start; |
| 130 | struct timespec elapsed, now; | 130 | struct timespec elapsed, now; |
| @@ -138,8 +138,8 @@ real_interval(int stop) | |||
| 138 | return 0.0; | 138 | return 0.0; |
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | static double | 141 | double |
| 142 | user_interval(int stop) | 142 | app_timer_user(int stop) |
| 143 | { | 143 | { |
| 144 | static struct timeval start; | 144 | static struct timeval start; |
| 145 | struct timeval elapsed; | 145 | struct timeval elapsed; |
| @@ -154,12 +154,6 @@ user_interval(int stop) | |||
| 154 | return 0.0; | 154 | return 0.0; |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | double | ||
| 158 | app_tminterval(int stop, int usertime) | ||
| 159 | { | ||
| 160 | return (usertime) ? user_interval(stop) : real_interval(stop); | ||
| 161 | } | ||
| 162 | |||
| 163 | int | 157 | int |
| 164 | setup_ui(void) | 158 | setup_ui(void) |
| 165 | { | 159 | { |
