diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-28 01:38:29 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-28 01:38:29 +0100 |
commit | 75186be2c2aa5566f3c490e087c24e12c872216e (patch) | |
tree | 2e5513c8b2ff27855353095fd11c5c788b56441f /sys/src/libdraw | |
parent | e02b986a801307d05e238c2af42b8a56f213f6ff (diff) |
libdraw: remove unused static log2[] array
Diffstat (limited to 'sys/src/libdraw')
-rw-r--r-- | sys/src/libdraw/arith.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/src/libdraw/arith.c b/sys/src/libdraw/arith.c index 893f39ced..93d95d5ac 100644 --- a/sys/src/libdraw/arith.c +++ b/sys/src/libdraw/arith.c @@ -166,12 +166,6 @@ ulong drawld2chan[] = { CMAP8, }; -/* - * was used by libmemlayer/line.c; made static, instead of deleting it, - * to avoid updating many binaries on sources. - */ -static int log2[] = { -1, 0, 1, -1, 2, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, 4 /* BUG */, -1, -1, -1, -1, -1, -1, -1, 5 }; - ulong setalpha(ulong color, uchar alpha) { |