about summary refs log tree commit diff
path: root/manual/examples/timeval_subtract.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/timeval_subtract.c')
-rw-r--r--manual/examples/timeval_subtract.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/manual/examples/timeval_subtract.c b/manual/examples/timeval_subtract.c
index 8bf8c4c432..f2ca593936 100644
--- a/manual/examples/timeval_subtract.c
+++ b/manual/examples/timeval_subtract.c
@@ -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) {