diff options
Diffstat (limited to 'manual/examples/timeval_subtract.c')
-rw-r--r-- | manual/examples/timeval_subtract.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/manual/examples/timeval_subtract.c b/manual/examples/timeval_subtract.c index 8bf8c4c432..ffac71cbca 100644 --- a/manual/examples/timeval_subtract.c +++ b/manual/examples/timeval_subtract.c @@ -1,5 +1,5 @@ /* struct timeval subtraction. - Copyright (C) 1991-2015 Free Software Foundation, Inc. + Copyright (C) 1991-2016 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -20,8 +20,7 @@ Return 1 if the difference is negative, otherwise 0. */ int -timeval_subtract (result, x, y) - struct timeval *result, *x, *y; +timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y) { /* Perform the carry for the later subtraction by updating @var{y}. */ if (x->tv_usec < y->tv_usec) { |