summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-02-18 17:15:25 -0800
committerElliott Hughes <enh@google.com>2021-02-18 17:15:25 -0800
commitd63ea5627c4be73a4d9d95dbc2c7a0676b1c12d5 (patch)
treed5cb7bf89a935992674cdc4031a6ad7744f02736
parent332065d57e734b65f56474d136d22d767e36cbcd (diff)
Switch BionicDeathTest to `#pragma once`.
Test: treehugger Change-Id: I3daded12812fb579e8b7d7abeb885ee7f17032e3
-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_