projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exclude: Unescape hashed patterns in wildcard mode.
[gnulib.git]
/
tests
/
test-times.c
diff --git
a/tests/test-times.c
b/tests/test-times.c
index
377a139
..
dcdcdb4
100644
(file)
--- a/
tests/test-times.c
+++ b/
tests/test-times.c
@@
-1,5
+1,5
@@
/* Test of times function.
/* Test of times function.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
, 2009, 2010
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 as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-19,6
+19,10
@@
#include <config.h>
#include <sys/times.h>
#include <config.h>
#include <sys/times.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (times, clock_t, (struct tms *));
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@
-72,7
+76,7
@@
main (int argc, char *argv[])
base = malloc (size * sizeof (double));
for (i = 0; i < size; i++)
base = malloc (size * sizeof (double));
for (i = 0; i < size; i++)
- base[i] = i * i;
+
base[i] = i * i;
qsort (base, size, sizeof (double), doublecmp);
qsort (base, size, sizeof (double), doublecmp);