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/llabs.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/llabs.c')
-rw-r--r-- | lib/libc/stdlib/llabs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/llabs.c b/lib/libc/stdlib/llabs.c index fc2cd8261ca..f4a260f4a8f 100644 --- a/lib/libc/stdlib/llabs.c +++ b/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); |