about summary refs log tree commit diff
path: root/absl/base/internal/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/internal/endian.h')
-rw-r--r--absl/base/internal/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/endian.h b/absl/base/internal/endian.h
index d5dc51adb56a..3f59184a868a 100644
--- a/absl/base/internal/endian.h
+++ b/absl/base/internal/endian.h
@@ -75,7 +75,7 @@ inline uint64_t gbswap_64(uint64_t host_int) {
   if (__builtin_constant_p(host_int)) {
     return __bswap_constant_64(host_int);
   } else {
-    register uint64_t result;
+    uint64_t result;
     __asm__("bswap %0" : "=r"(result) : "0"(host_int));
     return result;
   }