From: Bruno Martins Date: Thu, 13 Jan 2022 20:40:41 +0000 (+0000) Subject: hidl: fingerprint: Use pragma once X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44db14cca9d6be6c796b6b2309aa682ac4f03b30;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git hidl: fingerprint: Use pragma once Change-Id: Id3d0a28a94f52a8f9d2c72fe41e633761557951f --- diff --git a/hidl/fingerprint/BiometricsFingerprint.h b/hidl/fingerprint/BiometricsFingerprint.h index 9e2e3ce..aa860c1 100644 --- a/hidl/fingerprint/BiometricsFingerprint.h +++ b/hidl/fingerprint/BiometricsFingerprint.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2019-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 +14,7 @@ * limitations under the License. */ -#ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H -#define ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H +#pragma once #include #include @@ -118,5 +117,3 @@ struct BiometricsFingerprint : public IBiometricsFingerprint { } // namespace biometrics } // namespace hardware } // namespace android - -#endif // ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H diff --git a/hidl/fingerprint/VendorConstants.h b/hidl/fingerprint/VendorConstants.h index 3af6c69..86656b3 100644 --- a/hidl/fingerprint/VendorConstants.h +++ b/hidl/fingerprint/VendorConstants.h @@ -1,8 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2020 The LineageOS Project -#ifndef SAMSUNG_FINGERPRINT_CONSTANTS_H -#define SAMSUNG_FINGERPRINT_CONSTANTS_H +#pragma once // Fingerprint requests #define FINGERPRINT_REQUEST_ENROLL_SESSION 1002 @@ -100,5 +99,3 @@ #define SEM_SENSOR_STATUS_ERROR 100042 #define SEM_SENSOR_STATUS_OK 100040 #define SEM_SENSOR_STATUS_WORKING 100041 - -#endif // SAMSUNG_FINGERPRINT_CONSTANTS_H