summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/lldiv.c
diff options
context:
space:
mode:
authorguenther <>2016-08-14 23:18:03 +0000
committerguenther <>2016-08-14 23:18:03 +0000
commitbbd7863e9e2678e3ae2ce69690f0eb6f7dce138b (patch)
tree7e1cb514316cec6dc6c0898d75f4c612ad9ff229 /src/lib/libc/stdlib/lldiv.c
parentd375178b9a24f400dad1da5f563fce93ee621827 (diff)
downloadopenbsd-bbd7863e9e2678e3ae2ce69690f0eb6f7dce138b.tar.gz
openbsd-bbd7863e9e2678e3ae2ce69690f0eb6f7dce138b.tar.bz2
openbsd-bbd7863e9e2678e3ae2ce69690f0eb6f7dce138b.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/lldiv.c')
-rw-r--r--src/lib/libc/stdlib/lldiv.c4
1 files changed, 3 insertions, 1 deletions
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 @@
1/* $OpenBSD: lldiv.c,v 1.1 2006/01/13 17:58:09 millert Exp $ */ 1/* $OpenBSD: lldiv.c,v 1.2 2016/08/14 23:18:03 guenther Exp $ */
2/* 2/*
3 * Copyright (c) 1990 Regents of the University of California. 3 * Copyright (c) 1990 Regents of the University of California.
4 * All rights reserved. 4 * All rights reserved.
@@ -48,3 +48,5 @@ lldiv(long long num, long long denom)
48 } 48 }
49 return (r); 49 return (r);
50} 50}
51
52__weak_alias(qdiv, lldiv);