From 3ef0b09a54a6c66b23643ef102d70a6cb968b5eb 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/lldiv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/stdlib/lldiv.c') diff --git a/src/lib/libc/stdlib/lldiv.c b/src/lib/libc/stdlib/lldiv.c index e8d6c978b3..59c37b878c 100644 --- a/src/lib/libc/stdlib/lldiv.c +++ b/src/lib/libc/stdlib/lldiv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lldiv.c,v 1.1 2006/01/13 17:58:09 millert Exp $ */ +/* $OpenBSD: lldiv.c,v 1.2 2016/08/14 23:18:03 guenther Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. @@ -48,3 +48,5 @@ lldiv(long long num, long long denom) } return (r); } + +__weak_alias(qdiv, lldiv); -- cgit v1.2.3-55-g6feb