Make chreSensorConfigureModeOnly static inline
The definition of this helper function should be entirely local to the
translation unit in which it is defined.
Test: compile test only
Change-Id: I9d4ee7356ad566e52a0cc4aaaac4ee92094f0be7
diff --git a/inc/chre/sensor.h b/inc/chre/sensor.h
index 9d3ba3a..9e74336 100644
--- a/inc/chre/sensor.h
+++ b/inc/chre/sensor.h
@@ -800,8 +800,8 @@
*
* @see chreSensorConfigure
*/
-inline bool chreSensorConfigureModeOnly(uint32_t sensorHandle,
- enum chreSensorConfigureMode mode) {
+static inline bool chreSensorConfigureModeOnly(
+ uint32_t sensorHandle, enum chreSensorConfigureMode mode) {
return chreSensorConfigure(sensorHandle,
mode,
CHRE_SENSOR_INTERVAL_DEFAULT,