aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-02-19 18:22:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-19 18:22:53 +0000
commit3b7cc4ad89274f82f2660251e81552f0dd33f2b9 (patch)
tree6a5b65e0e3f09a85e4577598fe258a6bfebf4742
parenta0a2654e2ea12dce5ec0ba7be480bc440ce48f62 (diff)
parentd63ea5627c4be73a4d9d95dbc2c7a0676b1c12d5 (diff)
downloadbionic-3b7cc4ad89274f82f2660251e81552f0dd33f2b9.tar.gz
Merge "Switch BionicDeathTest to `#pragma once`."
-rw-r--r--tests/BionicDeathTest.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/BionicDeathTest.h b/tests/BionicDeathTest.h
index 6826ab72c..f70839a0f 100644
--- a/tests/BionicDeathTest.h
+++ b/tests/BionicDeathTest.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef BIONIC_TESTS_BIONIC_DEATH_TEST_H_
-#define BIONIC_TESTS_BIONIC_DEATH_TEST_H_
+#pragma once
#include <signal.h>
@@ -44,5 +43,3 @@ class BionicDeathTest : public testing::Test {
private:
struct sigaction64 previous_;
};
-
-#endif // BIONIC_TESTS_BIONIC_DEATH_TEST_H_