X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=4d94787d6227596e0d692622d320f159d8396694;hp=c11fc3ba002005f1ccde7ee6b83ea5d365a4aef4;hb=afad262440d213633144d696b8fdda7a65bf26d1;hpb=65db00983f3fa5449f20f2694477f9d5116f6ea5 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); +}