summaryrefslogtreecommitdiff
path: root/navit/endianess.h
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-05-25 22:07:07 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-25 22:17:50 -0700
commit41a1264cdd43a11695de85eab0bd3c941abf2b70 (patch)
tree3da1ef3bebc674807258ae824ff9156a64adf370 /navit/endianess.h
parent8a76acb966f7059caf9d72c853175bd923b1e9d7 (diff)
downloadnavit-41a1264cdd43a11695de85eab0bd3c941abf2b70.tar.gz
cleanup:cmake:remove trailing spaces
Diffstat (limited to 'navit/endianess.h')
-rw-r--r--navit/endianess.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/navit/endianess.h b/navit/endianess.h
index 2b4047093..9e00dfb85 100644
--- a/navit/endianess.h
+++ b/navit/endianess.h
@@ -18,9 +18,9 @@
*/
#ifndef __ENDIANESS_HANDLER__
- /* The following is based on xorg/xserver/GL/glx/glxbyteorder.h
+ /* The following is based on xorg/xserver/GL/glx/glxbyteorder.h
* which is (c) IBM Corp. 2006,2007 and originally licensed under the following
- * BSD-license. All modifications in navit are licensed under the GNU GPL as
+ * BSD-license. All modifications in navit are licensed under the GNU GPL as
* described in file "COPYRIGHT".
*
* Portions also from GNU C Library include/bits/byteswap.h Also licsend
@@ -33,11 +33,11 @@
* the rights to use, copy, modify, merge, publish, distribute, sub license,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
@@ -92,14 +92,14 @@
#endif
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
#define le16_to_cpu(x) __bswap_16 (x)
#define le32_to_cpu(x) __bswap_32 (x)
#define le64_to_cpu(x) __bswap_64 (x)
#define cpu_to_le16(x) __bswap_16 (x)
#define cpu_to_le32(x) __bswap_32 (x)
#define cpu_to_le64(x) __bswap_64 (x)
-#elif __BYTE_ORDER == __LITTLE_ENDIAN
+#elif __BYTE_ORDER == __LITTLE_ENDIAN
#define le16_to_cpu(x) (x)
#define le32_to_cpu(x) (x)
#define cpu_to_le16(x) (x)