summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/stdlib/llabs.c
blob: 9dfaf5cf766d29bb950876339f3836ee31311416 (plain)
1
2
3
4
5
6
#include <stdlib.h>

long long llabs(long long a)
{
	return a>0 ? a : -a;
}