aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanile71 <danile71@gmail.com>2017-11-17 13:04:46 +0300
committerJeferson <jroliveira.oliveira301@gmail.com>2022-05-04 13:32:14 +0200
commit31d4de1dd67c6e4f63eb5052a01ad8a4aeff6e78 (patch)
tree56997975e0b206f497e6da7af53c5306589a5287
parentaab94a248b48692d78e83485dadc156ca7517f22 (diff)
victara: gps: Fix cannot locate symbol "EXIT_ERROR_TAG"
Symbol referenced by "/system/vendor/lib/libflp.so" Change-Id: I1acd60c971e32b9cc65a940df3f597248cf1ad9f
-rw-r--r--gps/utils/loc_log.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gps/utils/loc_log.h b/gps/utils/loc_log.h
index 82dc636..b5aff48 100644
--- a/gps/utils/loc_log.h
+++ b/gps/utils/loc_log.h
@@ -57,10 +57,21 @@ const char* loc_get_name_from_val(loc_name_val_s_type table[], int table_size, l
const char* loc_get_msg_q_status(int status);
const char* loc_get_target_name(unsigned int target);
+
extern const char* log_succ_fail_string(int is_succ);
extern char *loc_get_time(char *time_string, unsigned long buf_size);
+extern const char EXIT_TAG[];
+extern const char EXIT_ERROR_TAG[];
+
+#define EXIT_LOG_WITH_ERROR(SPEC, VAL) \
+ if (VAL != 0) { \
+ LOG_E(EXIT_ERROR_TAG, __func__, SPEC, VAL); \
+ } else { \
+ LOG_V(EXIT_TAG, __func__, SPEC, VAL); \
+ }
+
#ifdef __cplusplus
}
#endif