Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e8cec4c authored by Chris Ye's avatar Chris Ye
Browse files

AThermal_StatusCallback should return void

AThermal_StatusCallback returns an int but it's totally ignored and
undocumented, we should just make this a void function.

Bug: 152509392
Change-Id: I044733f63007e942a6b1d04ce761891101b94e8f
parent b034fc50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ typedef struct AThermalManager AThermalManager;
 * It's passed the updated thermal status as parameter, as well as the
 * pointer provided by the client that registered a callback.
 */
typedef int (*AThermal_StatusCallback)(void *data, AThermalStatus status);
typedef void (*AThermal_StatusCallback)(void *data, AThermalStatus status);

/**
  * Acquire an instance of the thermal manager. This must be freed using