X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=4d94787d6227596e0d692622d320f159d8396694;hp=c11fc3ba002005f1ccde7ee6b83ea5d365a4aef4;hb=be81f51030d90de8d5eb0b65dbdab3032d5cae23;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/llround.c b/src/math/llround.c index c11fc3ba..4d94787d 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -1,10 +1,6 @@ -#define type double -#define roundit round -#define dtype long long -#define DTYPE_MIN LLONG_MIN -#define DTYPE_MAX LLONG_MAX -#define fn llround - -#include "lround.c" - +#include +long long llround(double x) +{ + return round(x); +}