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
commit3ef0b09a54a6c66b23643ef102d70a6cb968b5eb (patch)
tree7e1cb514316cec6dc6c0898d75f4c612ad9ff229 /src/lib/libc/stdlib/lldiv.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/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);