projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: avoid several compiler warnings
[gnulib.git]
/
tests
/
test-memchr.c
diff --git
a/tests/test-memchr.c
b/tests/test-memchr.c
index
1124f8b
..
a8cfc9b
100644
(file)
--- a/
tests/test-memchr.c
+++ b/
tests/test-memchr.c
@@
-41,7
+41,7
@@
#define MEMCHR (char *) memchr
int
-main ()
+main (
void
)
{
size_t n = 0x100000;
char *input = malloc (n);
@@
-102,8
+102,6
@@
main ()
if (page_boundary != NULL)
{
- int n;
-
for (n = 1; n <= 500; n++)
{
char *mem = page_boundary - n;