summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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;