summaryrefslogtreecommitdiff
path: root/src/stdlib/abs.c
blob: 4806d629d6cd152c8d5b53804fef8f1e2a5df31b (plain)
1
2
3
4
int abs(int a)
{
	return a>0 ? a : -a;
}