From b485dca22f539c98c43e7d7ebcbed554dadec5cf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 3 May 2007 23:13:04 +0000 Subject: give proper prototypes --- test/malloc/malloc-standard-alignment.c | 2 +- test/malloc/realloc-can-shrink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/malloc') 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; -- cgit v1.2.3