libbinder: use pragma once
Instead of copying a file and changing one header guard, I'd rather
change everything to pragma once, so I don't have to mess with them.
This has other benefits, like avoiding adding extra defines, which
people might depend on.
Bug: 167966510
Test: builds
Change-Id: Ia03ecb2edd0dc8ef3feb9a2594c1e602106268c3
diff --git a/libs/binder/include/binder/IInterface.h b/libs/binder/include/binder/IInterface.h
index 7116154..f4a21dd 100644
--- a/libs/binder/include/binder/IInterface.h
+++ b/libs/binder/include/binder/IInterface.h
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-//
-#ifndef ANDROID_IINTERFACE_H
-#define ANDROID_IINTERFACE_H
+#pragma once
#include <binder/Binder.h>
@@ -335,5 +333,3 @@
} // namespace internal
} // namespace android
-
-#endif // ANDROID_IINTERFACE_H