blob: 044a334b1acc4dd682f843fc0f95040fdf6fbe5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
* This file is part of the Linux-8086 C library and is distributed
* under the GNU Library General Public License.
*/
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
int abs(int arg1)
{
return arg1 > 0 ? arg1 : -arg1;
}
|