diff options
author | 2022-08-24 06:01:39 -0700 | |
---|---|---|
committer | 2022-08-24 06:02:48 -0700 | |
commit | c18bb215786bfa8c51866445601ef9453b9b3888 (patch) | |
tree | b4aaf94e9a1eb288b104a9fbe80dfee2e10cf837 | |
parent | c00a27581eb7277b120c5c3e121af9edb9ddddfd (diff) |
spinlock.h: Clean up includes
1. Removes unused includes
2. Replaces <stdint.h> with <cstdint>
PiperOrigin-RevId: 469705016
Change-Id: Ic32871be93d01436f5538c44321faad7bd2e4511
-rw-r--r-- | absl/base/internal/spinlock.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/absl/base/internal/spinlock.h b/absl/base/internal/spinlock.h index 14303d13..09ba5824 100644 --- a/absl/base/internal/spinlock.h +++ b/absl/base/internal/spinlock.h @@ -29,10 +29,8 @@ #ifndef ABSL_BASE_INTERNAL_SPINLOCK_H_ #define ABSL_BASE_INTERNAL_SPINLOCK_H_ -#include <stdint.h> -#include <sys/types.h> - #include <atomic> +#include <cstdint> #include "absl/base/attributes.h" #include "absl/base/const_init.h" @@ -41,8 +39,6 @@ #include "absl/base/internal/raw_logging.h" #include "absl/base/internal/scheduling_mode.h" #include "absl/base/internal/tsan_mutex_interface.h" -#include "absl/base/macros.h" -#include "absl/base/port.h" #include "absl/base/thread_annotations.h" namespace absl { |