diff options
author | 2016-08-14 23:18:03 +0000 | |
---|---|---|
committer | 2016-08-14 23:18:03 +0000 | |
commit | 60e29447380c2a7085979385eb4e985f0d44970e (patch) | |
tree | 61e51098fb707f99613b597796b6ae1be6787f9c /lib/libc/stdlib/lldiv.c | |
parent | Convert quad_t to long long (diff) | |
download | wireguard-openbsd-60e29447380c2a7085979385eb4e985f0d44970e.tar.xz wireguard-openbsd-60e29447380c2a7085979385eb4e985f0d44970e.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 'lib/libc/stdlib/lldiv.c')
-rw-r--r-- | lib/libc/stdlib/lldiv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/lldiv.c b/lib/libc/stdlib/lldiv.c index e8d6c978b37..59c37b878cd 100644 --- a/lib/libc/stdlib/lldiv.c +++ b/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); |