aboutsummaryrefslogtreecommitdiff
path: root/helper/lineartable.c
diff options
context:
space:
mode:
authorhuanggaoyang <huanggaoyang1@huawei.com>2015-11-11 15:00:42 +0800
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-11-16 11:29:29 +0300
commitc7da92cdc9568c1ab9d7f75c81bcb5ad530b685d (patch)
treecbc756e5864f1b9c53b151c6335317372d231ea4 /helper/lineartable.c
parent7d9180e8a695e26fe4743e3a6e90944c7a91bb26 (diff)
helper: table: fix the doxygen warning
Signed-off-by: huanggaoyang <huanggaoyang1@huawei.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'helper/lineartable.c')
-rw-r--r--helper/lineartable.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/helper/lineartable.c b/helper/lineartable.c
index 4dacdb31d..7809a52ca 100644
--- a/helper/lineartable.c
+++ b/helper/lineartable.c
@@ -20,7 +20,7 @@
*/
#define ODPH_LINEAR_TABLE_MAGIC_WORD 0xEFEFFEFE
-/**< @internal table struct
+/** @internal table struct
* For linear table, value is orgnized as a big array,
* and key is the index of this array, so we just need to record the
* content of value, and make sure the key won't overflow
@@ -28,12 +28,11 @@
typedef struct {
uint32_t magicword; /**< for check */
uint32_t init_cap; /**< input param of capacity */
- /**< given the capacity, caculate out the max supported nodes number */
+ /** given the capacity, caculate out the max supported nodes number */
uint32_t node_sum;
- /**< size of a lineartable element,including the rwlock in the head */
+ /** size of a lineartable element,including the rwlock in the head */
uint32_t value_size;
- /**< value pool in array format */
- void *value_array;
+ void *value_array; /**< value pool in array format */
char name[ODPH_TABLE_NAME_LEN]; /**< name of the table */
} odph_linear_table_imp;