From bbd7863e9e2678e3ae2ce69690f0eb6f7dce138b Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 14 Aug 2016 23:18:03 +0000 Subject: 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@ --- src/lib/libc/stdlib/llabs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/stdlib/llabs.c') 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 @@ -/* $OpenBSD: llabs.c,v 1.3 2007/01/08 19:39:25 deraadt Exp $ */ +/* $OpenBSD: llabs.c,v 1.4 2016/08/14 23:18:03 guenther Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -36,3 +36,5 @@ llabs(long long j) { return (j < 0 ? -j : j); } + +__weak_alias(qabs, llabs); -- cgit v1.2.3-55-g6feb