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

Commit c796b905 authored by Dan Albert's avatar Dan Albert
Browse files

Add missing typedefs for C compat.

Bug: https://github.com/android/ndk/issues/1920
Test: clang --sysroot out/soong/ndk/sysroot
          out/soong/ndk/sysroot/usr/include/**/*.h

Change-Id: I2fc435c16bc8df77c2ab0754f2cc43d9aa717de8
parent 9d04fe2c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -85,6 +85,7 @@ enum AThermalStatus {
    /** Need shutdown immediately. */
    /** Need shutdown immediately. */
    ATHERMAL_STATUS_SHUTDOWN = 6,
    ATHERMAL_STATUS_SHUTDOWN = 6,
};
};
typedef enum AThermalStatus AThermalStatus;


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


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