diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:34 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 21:07:35 +0100 |
commit | 05dbf5c0b1a80c03fd332cf9cd81e9247c1d7063 (patch) | |
tree | 2c8a0378f3e85768b4d9c291865fa1c4dbe435a7 /krandr | |
parent | 119bb1250355503e9b7f71b294cc502e7a9d6d95 (diff) | |
download | tdelibs-05dbf5c0b1a80c03fd332cf9cd81e9247c1d7063.tar.gz tdelibs-05dbf5c0b1a80c03fd332cf9cd81e9247c1d7063.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
Diffstat (limited to 'krandr')
-rw-r--r-- | krandr/libkrandr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krandr/libkrandr.cc b/krandr/libkrandr.cc index 9ee9650f5..064524250 100644 --- a/krandr/libkrandr.cc +++ b/krandr/libkrandr.cc @@ -43,7 +43,7 @@ // This routine is courtsey of an answer on "Stack Overflow" // It takes an LSB-first int and makes it an MSB-first int (or vice versa) -unsigned int reverse_bits(register unsigned int x) +unsigned int reverse_bits(unsigned int x) { x = (((x & 0xaaaaaaaa) >> 1) | ((x & 0x55555555) << 1)); x = (((x & 0xcccccccc) >> 2) | ((x & 0x33333333) << 2)); |