diff options
author | crancocco <shulaibai@hustunique.com> | 2016-06-25 22:55:16 +0800 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-01-21 18:26:28 +0100 |
commit | b80452111794b613819d5ad51e1690c4dd923e97 (patch) | |
tree | df2b4d14fdd89a40f6e11a24d93949e7bebfd8e5 /gps/utils/loc_cfg.h | |
parent | 8126cb8c09f99ae625364c98b1301d0c5390e27d (diff) |
z2_plus: Update GPS HAL from upstream
* Tag LA.HB.1.3.2-15400-8x96.0
Change-Id: I2ba108f26a2ef4fc78504ef8c08ca41624ccb193
Diffstat (limited to 'gps/utils/loc_cfg.h')
-rw-r--r-- | gps/utils/loc_cfg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gps/utils/loc_cfg.h b/gps/utils/loc_cfg.h index ea4865b..9045e1d 100644 --- a/gps/utils/loc_cfg.h +++ b/gps/utils/loc_cfg.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -54,7 +54,7 @@ *============================================================================*/ typedef struct { - char param_name[LOC_MAX_PARAM_NAME]; + const char *param_name; void *param_ptr; uint8_t *param_set; /* was this value set by config file? */ char param_type; /* 'n' for number, @@ -78,12 +78,12 @@ extern "C" { * *============================================================================*/ void loc_read_conf(const char* conf_file_name, - loc_param_s_type* config_table, + const loc_param_s_type* config_table, uint32_t table_length); -int loc_read_conf_r(FILE *conf_fp, loc_param_s_type* config_table, +int loc_read_conf_r(FILE *conf_fp, const loc_param_s_type* config_table, uint32_t table_length); int loc_update_conf(const char* conf_data, int32_t length, - loc_param_s_type* config_table, uint32_t table_length); + const loc_param_s_type* config_table, uint32_t table_length); #ifdef __cplusplus } #endif |