mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix typo and wrong func call in rint()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ca3c70dc31
commit
64ec711135
@ -43,7 +43,7 @@
|
||||
#ifdef __STDC__
|
||||
float ceilf(float x)
|
||||
#else
|
||||
float rintf(x)
|
||||
float ceilf(x)
|
||||
float x;
|
||||
#endif
|
||||
{
|
||||
@ -63,6 +63,6 @@
|
||||
float x;
|
||||
#endif
|
||||
{
|
||||
return (float) sin( (double)x );
|
||||
return (float) rint( (double)x );
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user