libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / system / libroot / posix / stdlib / abs.c
blobeb5aa66beaa924c45377d6e55f57df9ffb8e0373
1 /*
2 * Copyright 2002-2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Author:
6 * Daniel Reinhold, danielre@users.sf.net
7 */
10 #include <stdlib.h>
13 int
14 abs(int i)
16 return (i < 0) ? -i : i;
20 long
21 labs(long i)
23 return (i < 0) ? -i : i;
27 long long
28 llabs(long long i)
30 return (i < 0) ? -i : i;