From 29d3e23bab8e53ed8653aafb8af9d2999769f17f Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 13 Mar 2002 23:28:57 +0000 Subject: New versions of the various string to int functions which are smaller than the old ones, even with errno setting turned on now. Also, at least on i386, we no longer need the long long helper functions for division and mod from libgcc.a. --- libc/stdlib/abs.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 libc/stdlib/abs.c (limited to 'libc/stdlib/abs.c') diff --git a/libc/stdlib/abs.c b/libc/stdlib/abs.c deleted file mode 100644 index 044a334b1..000000000 --- a/libc/stdlib/abs.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 1995,1996 Robert de Bath - * This file is part of the Linux-8086 C library and is distributed - * under the GNU Library General Public License. - */ -#include -#include -#include - -int abs(int arg1) -{ - return arg1 > 0 ? arg1 : -arg1; -} - -- cgit v1.2.3