From bfd05667a48d9cd78ffd15858ceeda66e215fb5a Mon Sep 17 00:00:00 2001 From: jca <> Date: Tue, 5 Dec 2017 15:02:06 +0000 Subject: Seperate real and user timer interfaces Use more descriptive names, and make it clearer that real and user timers work on different static storage. The end goal is to be able to reuse those timer functions, instead of inlining other timer implementations subject to clock jumps. Discussed with Scott Cheloha --- src/usr.bin/openssl/s_time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr.bin/openssl/s_time.c') diff --git a/src/usr.bin/openssl/s_time.c b/src/usr.bin/openssl/s_time.c index e7a1ef7b63..75009f8617 100644 --- a/src/usr.bin/openssl/s_time.c +++ b/src/usr.bin/openssl/s_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_time.c,v 1.18 2017/11/02 00:31:49 mestre Exp $ */ +/* $OpenBSD: s_time.c,v 1.19 2017/12/05 15:02:06 jca Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -233,9 +233,9 @@ s_time_usage(void) #define STOP 1 static double -tm_Time_F(int s) +tm_Time_F(int op) { - return app_tminterval(s, 1); + return app_timer_user(op); } /*********************************************************************** -- cgit v1.2.3-55-g6feb