hidl: sensors: 1.0: Use pragma once
Change-Id: Icab086b90c016dc4cdaa2bf145145de27d6f5ef7
This commit is contained in:
parent
eed8c0648b
commit
004947ec9f
@ -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_
|
||||
|
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user