summaryrefslogtreecommitdiff
path: root/test/malloc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-03 23:13:04 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-03 23:13:04 +0000
commitb485dca22f539c98c43e7d7ebcbed554dadec5cf (patch)
tree30333b6a6fa8317f6d8ffb73bb936e79ba81c906 /test/malloc
parent3f0fbd59eb2d5bf9e360dba515ce12e9581e2be4 (diff)
give proper prototypes
Diffstat (limited to 'test/malloc')
-rw-r--r--test/malloc/malloc-standard-alignment.c2
-rw-r--r--test/malloc/realloc-can-shrink.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/malloc/malloc-standard-alignment.c b/test/malloc/malloc-standard-alignment.c
index 1b4c9b8a0..71e5023ae 100644
--- a/test/malloc/malloc-standard-alignment.c
+++ b/test/malloc/malloc-standard-alignment.c
@@ -23,7 +23,7 @@ struct llist_s {
struct llist_s *link;
} *phead;
-int main()
+int main(int argc, char *argv[])
{
char *line, *reg;
diff --git a/test/malloc/realloc-can-shrink.c b/test/malloc/realloc-can-shrink.c
index 7df9835e9..33249db42 100644
--- a/test/malloc/realloc-can-shrink.c
+++ b/test/malloc/realloc-can-shrink.c
@@ -4,7 +4,7 @@
#define LARGE_BUFFER (1 << 20) /* idea is to span a lot of pages */
-int main()
+int main(int argc, char *argv[])
{
int count = 20;
char *ptr = NULL;