summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/llabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/llabs.c')
-rw-r--r--src/lib/libc/stdlib/llabs.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/llabs.c b/src/lib/libc/stdlib/llabs.c
index 9611b5aefd..0a0ff784af 100644
--- a/src/lib/libc/stdlib/llabs.c
+++ b/src/lib/libc/stdlib/llabs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: llabs.c,v 1.1 2003/07/21 20:20:04 millert Exp $ */ 1/* $OpenBSD: llabs.c,v 1.2 2005/08/08 08:05:36 espie Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990 The Regents of the University of California. 4 * Copyright (c) 1990 The Regents of the University of California.
@@ -33,13 +33,10 @@
33 * SUCH DAMAGE. 33 * SUCH DAMAGE.
34 */ 34 */
35 35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char *rcsid = "$OpenBSD: llabs.c,v 1.1 2003/07/21 20:20:04 millert Exp $";
38#endif /* LIBC_SCCS and not lint */
39
40#include <stdlib.h> 36#include <stdlib.h>
41 37
42long long llabs(long long j) 38long long
39llabs(long long j)
43{ 40{
44 return (j < 0 ? -j : j); 41 return (j < 0 ? -j : j);
45} 42}