changeset 20030:f837670d269c

Fix warnings: cs_test.c:62: warning: return type defaults to 'int' cs_test.c:64: warning: implicit declaration of function 'memalign'
author diego
date Wed, 04 Oct 2006 13:51:12 +0000
parents 410311d56c8d
children d7cf54666334
files libswscale/cs_test.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/cs_test.c	Wed Oct 04 13:41:05 2006 +0000
+++ b/libswscale/cs_test.c	Wed Oct 04 13:51:12 2006 +0000
@@ -21,6 +21,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#include <malloc.h>
 
 #include "swscale.h"
 #include "rgb2rgb.h"
@@ -58,7 +59,7 @@
     return argv[optind];
 }
 
-main(int argc, char **argv)
+int main(int argc, char **argv)
 {
 	int i, funcNum;
 	uint8_t *srcBuffer= (uint8_t*)memalign(128, SIZE);