From: klueska Date: Fri, 25 Jul 2008 02:20:00 +0000 (+0000) Subject: Change declaration of elemenent_data[0] in struct to *elemente_data X-Git-Tag: release_tinyos_2_1_0_0~24 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=3ea5380f6559ccb84163c882833d0994e370c5ba Change declaration of elemenent_data[0] in struct to *elemente_data --- diff --git a/tos/lib/tosthreads/types/linked_list.h b/tos/lib/tosthreads/types/linked_list.h index 2a60de34..03929c4b 100644 --- a/tos/lib/tosthreads/types/linked_list.h +++ b/tos/lib/tosthreads/types/linked_list.h @@ -38,7 +38,7 @@ typedef struct list_element { struct list_element* next; - uint8_t element_data[0]; + uint8_t* element_data; } list_element_t; typedef struct linked_list {