From b3b70385ae118f37ff0bfb7f7898070bc563ee74 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 13 Mar 1996 04:48:12 +0000 Subject: [PATCH] * gss-server.c (timeval_subtract): Use old-style function definition git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7615 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gss-sample/ChangeLog | 5 +++++ src/appl/gss-sample/gss-server.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog index fabf63926..6862bc86c 100644 --- a/src/appl/gss-sample/ChangeLog +++ b/src/appl/gss-sample/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 12 23:46:26 1996 Ken Raeburn + + * gss-server.c (timeval_subtract): Use old-style function + definition. + Sun Mar 3 12:14:48 1996 Ezra Peisach * gss-server.c (test_import_export_context): Add second argument diff --git a/src/appl/gss-sample/gss-server.c b/src/appl/gss-sample/gss-server.c index f87742b56..f685ab70f 100644 --- a/src/appl/gss-sample/gss-server.c +++ b/src/appl/gss-sample/gss-server.c @@ -479,8 +479,8 @@ int server_establish_context(s, server_creds, context, client_name) return 0; } -static float timeval_subtract(struct timeval *tv1, - struct timeval *tv2) +static float timeval_subtract(tv1, tv2) + struct timeval *tv1, *tv2; { return ((tv1->tv_sec - tv2->tv_sec) + ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); -- 2.26.2