Skip to content

Commit d575c5b

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Add missing typedefs for C compat." into main
2 parents f963e89 + c796b90 commit d575c5b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/android/thermal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ enum AThermalStatus {
8585
/** Need shutdown immediately. */
8686
ATHERMAL_STATUS_SHUTDOWN = 6,
8787
};
88+
typedef enum AThermalStatus AThermalStatus;
8889

8990
/**
9091
* An opaque type representing a handle to a thermal manager.
@@ -240,6 +241,7 @@ struct AThermalHeadroomThreshold {
240241
float headroom;
241242
AThermalStatus thermalStatus;
242243
};
244+
typedef struct AThermalHeadroomThreshold AThermalHeadroomThreshold;
243245

244246
/**
245247
* Gets the thermal headroom thresholds for all available thermal status.

0 commit comments

Comments
 (0)