From 867e1e3043c230d7a19027bcad5bd66114f06a4d Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 6 Oct 2016 16:44:46 -0700 Subject: [PATCH] Fix doc warnings hardware/libhardware/include was being included with -isystem, which hides warnings. Fix use of doxygen function comments on on function pointers, which are not considered functions or methods. Bug: 32018017 Test: m -j Change-Id: I71a1d33a9ae90b646bf22f32e052bbe22e8aca76 --- include/hardware/sensors.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index b1df3172..5a0dce1f 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h @@ -1151,7 +1151,7 @@ struct sensors_module_t { /** * Enumerate all available sensors. The list is returned in "list". - * @return number of sensors in the list + * return number of sensors in the list */ int (*get_sensors_list)(struct sensors_module_t* module, struct sensor_t const** list); @@ -1162,7 +1162,7 @@ struct sensors_module_t { * 0 - Normal operation. Default state of the module. * 1 - Loopback mode. Data is injected for the supported * sensors by the sensor service in this mode. - * @return 0 on success + * return 0 on success * -EINVAL if requested mode is not supported * -EPERM if operation is not allowed */ @@ -1372,7 +1372,7 @@ typedef struct sensors_poll_device_1 { /* * Inject a single sensor sample to be to this device. * data points to the sensor event to be injected - * @return 0 on success + * return 0 on success * -EPERM if operation is not allowed * -EINVAL if sensor event cannot be injected */