hidl: sensors: 1.0: Use pragma once

Change-Id: Icab086b90c016dc4cdaa2bf145145de27d6f5ef7
This commit is contained in:
Bruno Martins 2022-01-13 20:44:10 +00:00 committed by Sebastiano Barezzi
parent eed8c0648b
commit 004947ec9f
No known key found for this signature in database
GPG Key ID: 763BD3AE91A7A13F
2 changed files with 2 additions and 10 deletions

View File

@ -14,9 +14,7 @@
* limitations under the License.
*/
#ifndef HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_
#define HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_
#pragma once
#include <android-base/macros.h>
#include <android/hardware/sensors/1.0/ISensors.h>
@ -79,5 +77,3 @@ extern "C" ISensors* HIDL_FETCH_ISensors(const char* name);
} // namespace sensors
} // namespace hardware
} // namespace android
#endif // HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_

View File

@ -14,9 +14,7 @@
* limitations under the License.
*/
#ifndef HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_INCLUDE_CONVERT_H_
#define HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_INCLUDE_CONVERT_H_
#pragma once
#include <android/hardware/sensors/1.0/ISensors.h>
#include <hardware/sensors.h>
@ -41,5 +39,3 @@ int convertFromRateLevel(RateLevel rate);
} // namespace sensors
} // namespace hardware
} // namespace android
#endif // HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_INCLUDE_CONVERT_H_