diff options
| author | Bruno Martins <bgcngm@gmail.com> | 2022-01-13 20:40:41 +0000 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2022-02-02 21:40:23 +0300 |
| commit | 7ba423bd54b4117b6ab8187f1262d69207eba23c (patch) | |
| tree | b453f58a32a3b62b8c1381416733d312509c4e6b | |
| parent | 70eb2a6049a799637cba9f8c51a891ce80b35a0a (diff) | |
hidl: fingerprint: Use pragma once
Change-Id: Id3d0a28a94f52a8f9d2c72fe41e633761557951f
| -rw-r--r-- | hidl/fingerprint/BiometricsFingerprint.h | 6 | ||||
| -rw-r--r-- | hidl/fingerprint/inscreen/FingerprintInscreen.h | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/hidl/fingerprint/BiometricsFingerprint.h b/hidl/fingerprint/BiometricsFingerprint.h index 9ff5089..3f8bbb8 100644 --- a/hidl/fingerprint/BiometricsFingerprint.h +++ b/hidl/fingerprint/BiometricsFingerprint.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2017 The Android Open Source Project + * 2021-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +15,7 @@ * limitations under the License. */ -#ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H -#define ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H +#pragma once #include <log/log.h> #include <android/log.h> @@ -81,5 +81,3 @@ private: } // namespace biometrics } // namespace hardware } // namespace android - -#endif // ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H diff --git a/hidl/fingerprint/inscreen/FingerprintInscreen.h b/hidl/fingerprint/inscreen/FingerprintInscreen.h index f8baa54..2705216 100644 --- a/hidl/fingerprint/inscreen/FingerprintInscreen.h +++ b/hidl/fingerprint/inscreen/FingerprintInscreen.h @@ -1,10 +1,9 @@ /* - * Copyright (C) 2021 The LineageOS Project + * Copyright (C) 2021-2022 The LineageOS Project * SPDX-License-Identifier: Apache-2.0 */ -#ifndef VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H -#define VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H +#pragma once #include <vendor/lineage/biometrics/fingerprint/inscreen/1.0/IFingerprintInscreen.h> #include <vendor/oneplus/fingerprint/extension/1.0/IVendorFingerprintExtensions.h> @@ -61,5 +60,3 @@ class FingerprintInscreen : public IFingerprintInscreen { } // namespace biometrics } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H |
