소스 검색

give proper prototypes

Mike Frysinger 18 년 전
부모
커밋
b485dca22f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      test/malloc/malloc-standard-alignment.c
  2. 1 1
      test/malloc/realloc-can-shrink.c

+ 1 - 1
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;
 

+ 1 - 1
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;