From: Ken Raeburn Date: Wed, 13 Mar 1996 04:48:12 +0000 (+0000) Subject: * gss-server.c (timeval_subtract): Use old-style function definition X-Git-Tag: krb5-1.0-beta6~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3b70385ae118f37ff0bfb7f7898070bc563ee74;p=krb5.git * 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 --- 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);