diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 23:14:04 +0900 |
commit | aa98dbfe80580169f3df12489a77e8b904a1d9b9 (patch) | |
tree | 483608a6346be3fa4d8f95d35a05952c81221b91 /tdecore/tdehw | |
parent | f29aa92d38e9e1f353ed48f7952150437db8c890 (diff) | |
download | tdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.tar.gz tdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 7b8c0ad87..0d1207e0a 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -107,7 +107,7 @@ timespec diff(timespec start, timespec end) // 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)); |