summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/llabs.c
diff options
context:
space:
mode:
authorguenther <>2016-08-14 23:18:03 +0000
committerguenther <>2016-08-14 23:18:03 +0000
commit3ef0b09a54a6c66b23643ef102d70a6cb968b5eb (patch)
tree7e1cb514316cec6dc6c0898d75f4c612ad9ff229 /src/lib/libc/stdlib/llabs.c
parentd6facf8307c94c6aa261c4194e9f3a391e8a0cb3 (diff)
downloadopenbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.tar.gz
openbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.tar.bz2
openbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.zip
Reduce qabs() and qdiv() to aliases of llabs() and lldiv().
Merge the manual pages and call them deprecated there. ok and manpage tweak jmc@, ok natano@
Diffstat (limited to 'src/lib/libc/stdlib/llabs.c')
-rw-r--r--src/lib/libc/stdlib/llabs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/llabs.c b/src/lib/libc/stdlib/llabs.c
index fc2cd8261c..f4a260f4a8 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.3 2007/01/08 19:39:25 deraadt Exp $ */ 1/* $OpenBSD: llabs.c,v 1.4 2016/08/14 23:18:03 guenther 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.
@@ -36,3 +36,5 @@ llabs(long long j)
36{ 36{
37 return (j < 0 ? -j : j); 37 return (j < 0 ? -j : j);
38} 38}
39
40__weak_alias(qabs, llabs);