summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-08-24 06:01:39 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-08-24 06:02:48 -0700
commitc18bb215786bfa8c51866445601ef9453b9b3888 (patch)
treeb4aaf94e9a1eb288b104a9fbe80dfee2e10cf837 /absl/base
parentc00a27581eb7277b120c5c3e121af9edb9ddddfd (diff)
spinlock.h: Clean up includes
1. Removes unused includes 2. Replaces <stdint.h> with <cstdint> PiperOrigin-RevId: 469705016 Change-Id: Ic32871be93d01436f5538c44321faad7bd2e4511
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/internal/spinlock.h6
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 {