From: Abhimanyu Swami Date: Tue, 21 Jan 2025 06:17:03 +0000 (+0530) Subject: Fix build errors X-Git-Tag: accepted/tizen/9.0/unified/20250424.162122^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69a1c9bca0baed1ce27216cf2ba1c7e66a6f1a75;p=platform%2Fhal%2Fapi%2Flocation.git Fix build errors Change-Id: I5085adde66e8d65c461bd3d7081020872ef92f20 (cherry picked from commit 2e6dc4088534358de93b47959b5c41958423fe41) --- diff --git a/include/hal-location.h b/include/hal-location.h index cc34c39..0a4f5b6 100644 --- a/include/hal-location.h +++ b/include/hal-location.h @@ -63,7 +63,7 @@ int hal_location_init(gps_event_cb gps_event_cb, void *user_data); * @retval #-ENOSUP Invalid operation * @see hal_location_init() */ -int hal_location_deinit(gps_failure_reason_t *reason_code); +int hal_location_deinit(gps_failure_reason_e *reason_code); /** * @brief Request gpa action with action data. @@ -75,7 +75,7 @@ int hal_location_deinit(gps_failure_reason_t *reason_code); * @retval #-ENOSUP Invalid operation * @see hal_location_init() */ -int hal_location_request(hal_location_gps_action_e gps_action, void *gps_action_data, gps_failure_reason_t *reason_code); +int hal_location_request(hal_location_gps_action_e gps_action, void *gps_action_data, gps_failure_reason_e *reason_code); #ifdef __cplusplus } diff --git a/src/hal-api-location.c b/src/hal-api-location.c index c115f73..76bfbb1 100644 --- a/src/hal-api-location.c +++ b/src/hal-api-location.c @@ -84,7 +84,7 @@ int hal_location_init(gps_event_cb gps_event_cb, void *user_data) } EXPORT -int hal_location_deinit(gps_failure_reason_t *reason_code) +int hal_location_deinit(gps_failure_reason_e *reason_code) { if (!g_hal_location_funcs) return -ENOTSUP; @@ -92,7 +92,7 @@ int hal_location_deinit(gps_failure_reason_t *reason_code) } EXPORT -int hal_location_request(hal_location_gps_action_e gps_action, void *gps_action_data, gps_failure_reason_t *reason_code) +int hal_location_request(hal_location_gps_action_e gps_action, void *gps_action_data, gps_failure_reason_e *reason_code) { if (!g_hal_location_funcs) return -ENOTSUP;