rational-test: Add proper main() declaration to fix gcc warnings.

This commit is contained in:
Diego Biurrun 2011-06-27 00:29:32 +02:00
parent c562ba4c3d
commit 812f2376ee
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,8 @@ int av_find_nearest_q_idx(AVRational q, const AVRational* q_list)
}
#ifdef TEST
main(){
int main(void)
{
AVRational a,b;
for(a.num=-2; a.num<=2; a.num++){
for(a.den=-2; a.den<=2; a.den++){
@ -151,5 +152,6 @@ main(){
}
}
}
return 0;
}
#endif