diff options
author | guenther <> | 2016-08-14 23:18:03 +0000 |
---|---|---|
committer | guenther <> | 2016-08-14 23:18:03 +0000 |
commit | bbd7863e9e2678e3ae2ce69690f0eb6f7dce138b (patch) | |
tree | 7e1cb514316cec6dc6c0898d75f4c612ad9ff229 /src/lib/libc/stdlib/llabs.c | |
parent | d375178b9a24f400dad1da5f563fce93ee621827 (diff) | |
download | openbsd-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/llabs.c')
-rw-r--r-- | src/lib/libc/stdlib/llabs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/llabs.c b/src/lib/libc/stdlib/llabs.c index fc2cd8261c..f4a260f4a8 100644 --- a/src/lib/libc/stdlib/llabs.c +++ b/src/lib/libc/stdlib/llabs.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: llabs.c,v 1.3 2007/01/08 19:39:25 deraadt Exp $ */ | 1 | /* $OpenBSD: llabs.c,v 1.4 2016/08/14 23:18:03 guenther Exp $ */ |
2 | 2 | ||
3 | /*- | 3 | /*- |
4 | * Copyright (c) 1990 The Regents of the University of California. | 4 | * Copyright (c) 1990 The Regents of the University of California. |
@@ -36,3 +36,5 @@ llabs(long long j) | |||
36 | { | 36 | { |
37 | return (j < 0 ? -j : j); | 37 | return (j < 0 ? -j : j); |
38 | } | 38 | } |
39 | |||
40 | __weak_alias(qabs, llabs); | ||