diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-04-18 11:21:04 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-05-24 16:29:12 +0200 |
commit | 701bea793ed1d2e20d036957268a71973c975cda (patch) | |
tree | e11453562495478d0b98462e9f5c7746c611aa33 /lib/4a-hal-utilities/4a-hal-utilities-data.h | |
parent | 9f9650031fcbea8401d64609778cef1b7c252990 (diff) |
Correct mistakes due to use of unsigned returns
Correct mistakes due to use of unsigned returns.
Also, simplify use of int by replacing 'int8_t'
and 'int64_t' types by plain 'int' type.
BUG-AGL: SPEC-2329
Change-Id: I24fe273c5a233762c072f7bc9e79eab32a1c824c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'lib/4a-hal-utilities/4a-hal-utilities-data.h')
-rw-r--r-- | lib/4a-hal-utilities/4a-hal-utilities-data.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.h b/lib/4a-hal-utilities/4a-hal-utilities-data.h index f3de1a6..a782417 100644 --- a/lib/4a-hal-utilities/4a-hal-utilities-data.h +++ b/lib/4a-hal-utilities/4a-hal-utilities-data.h @@ -96,21 +96,21 @@ struct HalMgrData { // Internal Hal - Streams data handling functions struct InternalHalMixerData *HalUtlAddMixerDataToMixerDataList(struct InternalHalMixerData **mixerDataList); -int8_t HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList, struct InternalHalMixerData *mixerDataToRemove); -int64_t HalUtlRemoveAllMixerData(struct InternalHalMixerData **mixerDataList); -int64_t HalUtlGetNumberOfMixerDataInList(struct InternalHalMixerData **mixerDataList); +int HalUtlRemoveSelectedMixerData(struct InternalHalMixerData **mixerDataList, struct InternalHalMixerData *mixerDataToRemove); +int HalUtlRemoveAllMixerData(struct InternalHalMixerData **mixerDataList); +int HalUtlGetNumberOfMixerDataInList(struct InternalHalMixerData **mixerDataList); struct InternalHalMixerData *HalUtlSearchMixerDataByProperties(struct InternalHalMixerData **mixerDataList, char *verb, char *verbToCall, char *streamCardId); // Hal data handling functions struct HalData *HalUtlAddHalToHalList(struct HalData **halDataList); -int8_t HalUtlRemoveSelectedHalFromList(struct HalData **halDataList, struct HalData *halToRemove); -int64_t HalUtlRemoveAllHalFromList(struct HalData **halDataList); -int64_t HalUtlGetNumberOfHalInList(struct HalData **halDataList); +int HalUtlRemoveSelectedHalFromList(struct HalData **halDataList, struct HalData *halToRemove); +int HalUtlRemoveAllHalFromList(struct HalData **halDataList); +int HalUtlGetNumberOfHalInList(struct HalData **halDataList); struct HalData *HalUtlSearchHalDataByApiName(struct HalData **halDataList, char *apiName); struct HalData *HalUtlSearchReadyHalDataByCardId(struct HalData **halDataList, int cardId); // Hal Manager data handling functions -uint8_t HalUtlInitializeHalMgrData(afb_api_t apiHandle, struct HalMgrData *halMgrData, char *apiName, char *info); +int HalUtlInitializeHalMgrData(afb_api_t apiHandle, struct HalMgrData *halMgrData, char *apiName, char *info); void HalUtlRemoveHalMgrData(struct HalMgrData *halMgrData); #endif /* _HAL_UTILITIES_DATA_INCLUDE_ */
\ No newline at end of file |