Commit 812f2376 authored by Diego Biurrun's avatar Diego Biurrun

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

parent c562ba4c
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment